04-30-2013 02:38 PM
Dear friends, i am trying to control power sink using Labview driver provided by the company, and power source using VISA RS232 communication. When i use them separately it works just perfect, however, when i use them in the same program the VISA (power source) keep showing error in the reading step, i uploaded the labview file. Please help me in this?
05-02-2013 09:51 AM
Hi,
I´m Thomas, an Application Engineer from NI.
Can we talk in German? Can you discribe your problem in german, too?
Can you post an Screenshot of your Error.
05-02-2013 02:26 PM
Hi Thomas,
I am studying at ingolstadt but i am not german unfortunately (international automotive program in german).
My problem is that i am using Labview to control TDKLambda (using VISA).... and Genyses as power sink (using their Labview driver). I could control them separatly however when i combine them in the same VI the VISA keeps showing up errors! i really apreciate your help.
Thanks in advance.
05-02-2013 02:31 PM
Although i increased number of Reading Bytes... indeed keep showing this error. I increased the time out as well, no success as well. Please find attached the error screenings.
05-03-2013 02:32 AM
Hi Thomas,
I have just solved the problem partially, i have no error when i put the read in different new frame. but now i have to control them simulataniously meaning: i need to control the source and the sink at the same time in order to provide specific current and voltage, and the time steps are too small (0.1 ms) that is impossible to make them in different frames. what should i do?
05-03-2013 05:09 AM
I checked your program.
This is not the way a program in LabVIEW should be written.
Look at the way a real instrument driver should be programmed by subvi's that perform a specific task.
Like initialize instrument, and set a value in the instrument or read a value from the instrument.
In your main vi you get a more readble program and you also can test the subvi's easier.
What instruments are yo talking to anyway?
Are there no real drivers available?
search on the NI instrument driver network.
http://search.ni.com/nisearch/app/main/p/ap/tech/lang/nl/pg/1/sn/ssnav:idr/
05-03-2013 09:53 AM
Hi Albert.Geven,
I totally understands what you mean, and it is with no doubt correct. but right now i am not interested in finalize my program since it will be straghtforward if i know how to synchronise both of them in controlling current and voltage values step; then i will just do as you described about the initialise ...ect. the instruments are: TDK Lmbda as power supply, and Genyses as power sink. Why did not i use Genyses driver? because i was asked to use only VISA (because after this project they will use an other charger, and they want me to write a standard program that can be reused). If you have any idea how to synchronise them please let me know?
Thanks for replyin.
05-03-2013 03:19 PM
If i use the Labview driver .... how can i control simultaneously any way?
05-04-2013 04:45 PM
05-04-2013 04:45 PM