LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Communication using cRIO-9022

Hi,

I am a beginner in LabView programming. I have a compactRIO 9022, which I want to program in such a way so that its serial port gives an output of high.

My algorithm basically analyzes the inputs coming in from NI 9215 modules and if the value of these inputs is greater than a threshold, a signal should be generated. This signal could be a unit pulse which I need to show onto an oscilloscope.

 

Thanks

0 Kudos
Message 1 of 4
(2,505 Views)

Homer,

Let me see if I understand where you're at. You are already acquiring data from your 9215 module in real-time. You're getting analog signals and convert them to binary based on a threshold value. In other words, you now are getting streaming TRUE and FALSE data. And you want to take that data and send it to a oscilloscope using the serial communication protocol? Are you able to communicate over the serial bus? If not, have you looked for drivers on the www.ni.com/idnet?

 

Thanks,
Ben

Ben D.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,482 Views)

Thank you for the reply.

Yes, I have acquired the signals from the NI 9215 modules. I am able to send out a string via serial communication, which is displayed as an impulse on the oscilloscope. Is it possible to make the write pin of the serial port always high, so that it is displayed as a unit pulse?

0 Kudos
Message 3 of 4
(2,475 Views)

I will admit that this is not the typical use case for a scope. Typically, the scope is doing the measurement and the display. Serial communication to a scope is more for automated control of settings. There is a chance that it may work, but this would have to be a feature included in the scope itself. Did you check for a driver or contact the manufacturer yet?

Ben D.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,465 Views)