Die Suche ergab 22 Treffer

von PowerSoft
Donnerstag 12. Juli 2018, 11:30
Forum: Thema: Compiler
Thema: Convert to outputsturing
Antworten: 7
Zugriffe: 5579

Re: Convert to outputsturing

Thanks for all help, found this simple solution. /*string handling */ char buffer1[25]; char buffer2[25]; int jaar,maand,dag,uur,minuut; double seconde; invjday(satrec.jdsatepoch, jaar,maand,dag,uur,minuut,seconde); sprintf(buffer1, "%02d-%02d-%02d %02d:%02d:%02d", dag, maand, jaar, uur, minuut, int...
von PowerSoft
Dienstag 10. Juli 2018, 14:04
Forum: Thema: Compiler
Thema: Convert to outputsturing
Antworten: 7
Zugriffe: 5579

Re: Convert to outputsturing

Thanks for your comment. For my regular projects I use only PL, but in this case I'm working on a satellite tracer. Special for fellowing the International Station ISS. To calculate all relevant information I needed to write a dll. This one is working fine. One thing gives me an enormous problem tha...
von PowerSoft
Dienstag 10. Juli 2018, 09:53
Forum: Thema: Compiler
Thema: Convert to outputsturing
Antworten: 7
Zugriffe: 5579

Convert to outputsturing

Hello, I need some help with the next type conversion. I need output the date and time in a string, so I can write it to POutput[]. Use the code as below. But how can I convert it to the right output format for PL. Try a lot of things but always a type conversion error. Thanks for any help ;) char b...
von PowerSoft
Samstag 7. Juli 2018, 14:05
Forum: Thema: Schaltung und Bauteile
Thema: Blinking RGB
Antworten: 1
Zugriffe: 2240

Blinking RGB

Hello, I wont construct a blinking RGB led. The idee is to switch the RGB lines with an analog switch over a tact generator. Input E1 is the signal (color) and E2 is the signal (black). So when switching between them gives a blinking effect. The RGB will be generated in a DLL, and will not used code...
von PowerSoft
Freitag 29. Juni 2018, 12:42
Forum: DLL-Programmierung
Thema: Combobox in DLL CConfigure
Antworten: 1
Zugriffe: 3092

Combobox in DLL CConfigure

Hello,

I need a combobox into the CConfigure.
Is there some help to implement this?
A good example is very welcome ;)
Search the forum but without a results.
I'm using the Dev-C++ compiler.
von PowerSoft
Donnerstag 28. Juni 2018, 14:55
Forum: DLL-Programmierung
Thema: String as output in DLL is not change
Antworten: 1
Zugriffe: 2095

String as output in DLL is not change

I try to figure out how the string output is working. In this simple DLL at startup the output should be "" and after trigger the output should change in a string. In the code below I show how I have programmed it. It is not working the output keeps the value "0". What is wrong with my code? Thanks ...
von PowerSoft
Donnerstag 28. Juni 2018, 14:00
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

Re: String as output in DLL

Thanks this was helpful, it is now running ;)
von PowerSoft
Mittwoch 27. Juni 2018, 19:21
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

Re: String as output in DLL

Hello, I have constructed a simple DLL thats should output a string named longstr1. I don't get it to work I think it is a matter of conversion. What to do to get it running? Thanks allot for any help. #include "GetFromNorad.h" char longstr1[]="1 25544U 98067A 18161.85073725 .00003008 00000-0 52601-...
von PowerSoft
Mittwoch 27. Juni 2018, 15:04
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

Re: String as output in DLL is crashing Profilab

I have used the version from : 07-05-2018
von PowerSoft
Dienstag 26. Juni 2018, 20:17
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

String as output in DLL is crashing Profilab

Hello, I have a working DLL thats calculate the position of Satellites. This is my call to execute : //Call from PROFILAB, this is the actual function call DLL 1. DLLEXPORT void _stdcall CCalculate(double *PInput, double *POutput, double *PUser, StringParam PStrings) 2. DLLEXPORT void _stdcall CCalc...
von PowerSoft
Samstag 23. Juni 2018, 11:34
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

Re: String as output in DLL

In you're code you mentiod "Stringein-/ausgabe nach Beispiel aus Profilab"
Wich example is this?


Thanks and regards,

Jan
von PowerSoft
Samstag 23. Juni 2018, 11:04
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

Re: String as output in DLL

Vielen Dank,

das ist, was ich gesucht habe ;)

Jan
von PowerSoft
Freitag 22. Juni 2018, 14:10
Forum: DLL-Programmierung
Thema: String as output in DLL
Antworten: 11
Zugriffe: 5782

String as output in DLL

Hello, I'm working on a ISS tracker. To do the heavy calculations I use a DLL. My program environment is the Dev-C++compiler. My DLL is working perfect, have used the well know SGP4 routines witch can be found on the Web. Now I need to output some information as a string. Have looked to all the exam...
von PowerSoft
Mittwoch 6. Juli 2016, 09:48
Forum: Thema RS232
Thema: Reading GPS data from dongle
Antworten: 3
Zugriffe: 5235

Re: Reading GPS data from dongle

Thanks for your support.
My GPS receiver type is Haicom HI-206 USB receiver.
It sends a continues stream of data, need no extern triggering to start

The Baudrate is 57600 Baud.
When I connect the program SRFdemo I receive
the data as expect.
von PowerSoft
Dienstag 5. Juli 2016, 19:20
Forum: Thema RS232
Thema: Reading GPS data from dongle
Antworten: 3
Zugriffe: 5235

Reading GPS data from dongle

Hello, I do some experiments with a serial GPS dongle on the USB port. All is working wel and I can receive the data. I know there will be send some different sentence. But when I look to the output of the com block ($) I see only one :( Test environment is include. Please take a look to see of ther...
von PowerSoft
Montag 27. Juni 2016, 13:47
Forum: SPRINT-LAYOUT SOFTWARE Support
Thema: Software on MAC system
Antworten: 3
Zugriffe: 199604

Re: Software on MAC system

Hello,

I have it running on a Mac OSX El Captain, with Parallels, without anny problems. :D
von PowerSoft
Montag 7. Januar 2013, 13:56
Forum: Thema RS232
Thema: Arduino in PL
Antworten: 18
Zugriffe: 19440

Re: Arduino in PL

Hello,

Is there also an example from the arduino side?
I see only in the example the profilibab part!

Thanks for any help.

Jan Kromhout
Hellevoetsluis-NL
von PowerSoft
Montag 7. November 2011, 21:16
Forum: DLL-Programmierung
Thema: Calling DLL from Profilab
Antworten: 6
Zugriffe: 7045

Re: Calling DLL from Profilab

Hello, After long testing and writing code it is still not working. This simple code of the relay has two states depends on the value of SEL. The realy has two outputs A0 and A1 In plain english I can write if SEL=0 then A0=E (=5 Volt) A1=0 (=0 Volt) else //SEL=5 Volt A0=0 (=0 Volt) A1=1 (=5 Volt) e...
von PowerSoft
Dienstag 11. Oktober 2011, 19:11
Forum: DLL-Programmierung
Thema: Calling DLL from Profilab
Antworten: 6
Zugriffe: 7045

Re: Calling DLL from Profilab

Hello, It is not reactiong like a relay. I modified the model with only one input(analog) and two outputs(anolog) and one binary select. It is the same layout as the relay in PL. I include my code What is going wrong? Thanks in advance. Jan kromhout Hellevoetsluis-NL //Aufruf von PROFILAB,hier steht...
von PowerSoft
Dienstag 11. Oktober 2011, 15:50
Forum: DLL-Programmierung
Thema: Calling DLL from Profilab
Antworten: 6
Zugriffe: 7045

Re: Calling DLL from Profilab

Hello,

Thanks for the help.
I had no idee that you had changed the source code. :o
It was great and helpfull.


Jan Kromhout
Hellevoetsluis-NL 8-)

Zur erweiterten Suche