03-07-2011 06:38 AM
I checked againg then I see that this is not the reason. I changed C and D but stil one of them is not working always. Heater output is also the same.
03-07-2011 09:13 AM
Then all I can suggest is that you use the debugging tools you have at hand. Put probes on wires and create extra indicators so that you can see what data is flowing in each of the wires.
Use NI-Spy so that you can see how the communication is going between NI-VISA and the instrument.
03-09-2011 06:39 AM
Hi Fan,
I checked and I had this error 0xBFFF0015 , I checked that it is related to timeup. But I don't know how to solve!!.
03-10-2011 04:08 PM
Hi,
That sounds like it is a VISA timeout error. Where is this error occurring? Is it occurring in a VISA open? VISA read? VISA write?
03-11-2011 01:01 PM
03-14-2011 10:15 AM
Hi,
Can you narrow down the error further than that? Where exactly is the error occurring? You might want to try running a simpler example to help you narrow down the problem. Try running the example "Basic Serial Write and Read.vi" from the NI Example Finder. Then, write commands to your device and see if you get a response.
03-14-2011 10:46 AM
Dear PaulRB,
I have cheked. The problem is related to parallel programming I guess. I am trying to control 2 heaters simultaneously. I added vi, there are two options in Output control loop, 1 and 2.
1 is controlling heater output 1, means first heater control,
2 is controlling heater output 2, means first heater control..
One of them gives error.. sometimes output 1, sometimes output 2... seperatelly both are ok with writing and reading. Howver, when I use this "Highlight Execution" button -sometimes- everything is working nice, but the end againg there is error I attached.
error sims to belongs to diff error but actually I changed the name...
Best.
03-15-2011 09:45 AM
Hi,
I still think you should heed the advice given to you earlier in the thread and change the architecture of your program. Instead of running this code in parallel, you should rewrite it to run sequentially. Better yet, if you have another serial port, you can run it in parallel using both serial ports.