04-29-2015 07:43 AM
I have pressure measuring device which reads the pressure periodically and sends information every 250ms. I would like to read the data for about one and half hour or even for some more time. I wrote 2 programs for this operation
1. VISA Read and write every 250ms: Here I configure the settings then write and read data every 250ms. (This fails after some time).
2. VISA using events.
I have attached the both programs. Would you suggest which one is appropriate for this operation or any further suggestions, improvements???
Thank you.
04-29-2015 08:17 AM
04-29-2015 08:35 AM
Error message is : -1073807339.
I found out that there is no need of VISA write. As soon I open the VISA port and set the port configuration the data is available on the interface.
I did even tried the example from ni here and I have the same error.
04-29-2015 09:10 AM
A timeout error implies one of two possible issues:
1. Your instrument does not constantly send out data
2. You are using the wrong termination character.
04-29-2015 09:28 AM - edited 04-29-2015 09:39 AM
@ crossrulz : Do you think that 2nd attached is wright?
What is the difference between the Serial Character and Serial TermChar for the input: event type?
04-29-2015 11:47 AM
nik35324 wrote:
What is the difference between the Serial Character and Serial TermChar for the input: event type?
The Serial Character just means that something can into the serial port. The Serial TermChar means that the Termination Character was found in the serial port.
04-30-2015 12:32 AM - edited 04-30-2015 12:37 AM
@ Dennis_Knutson , crossrulz : Thank you guys for your support. I was using the wrong terminating character. Now, the issue has been solved.
05-01-2015 06:16 AM
can you give me code compatible for labview 2010
thanks