Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading serial com port

Hi there,

 

I have been trying to connect my device to my laptop using a USB-RS232 converter. I need to get information such as frequency vs. amplitude of the signals and i have been using the example (Spectrum analyzer) to test it. However, i could not get the program to run correctly as it always returns error. I am using the I/O class->inst and inputted the port which i am using to test the device. Can someone tells me where goes wrong? Thank you

0 Kudos
Message 1 of 4
(3,704 Views)
What is the error that you are getting? Can you attach your vi?
0 Kudos
Message 2 of 4
(3,672 Views)
Thanks. This is the one that i am working on currently. So whenever , i switch the I/O port to the port that i am using now, Error -1073807253 occured and the possible reasons stated is "VISA:  (Hex 0xBFFF006B) A framing error occurred during transfer.". Once again thank you.
0 Kudos
Message 3 of 4
(3,659 Views)

One thing you could do is actually specify the spectrum analyzer and the driver you are using. None of the driver VIs are included in your attachment.

 

A framing error is often a mismatch in the com settings. Check what the initialize function is setting them to and compare to what the instrument is set to.

0 Kudos
Message 4 of 4
(3,657 Views)