VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

RS422 Communication In VeriStand

I would like to use a PXI-8431/8 module to communicate with some devices over RS-422 trough VeriStand. I know that Instrumunt Add-On Custom Device allows sending messages over RS-422, but when using this add-on comminication structure should be command response. This add-on doesn't initiate any communication.

 

How can I communicate over RS422 through Veristand? If a custom device is necessary, is there anyone who has used the PXI-843x or similar PXI module before can help me?

0 Kudos
Message 1 of 4
(1,514 Views)

Hi bkarkar,

 

Instrument Addon allows you to send only commands.

From Instrument Addon Quick Start Guide.md:

ZY_Ong_0-1660092222646.png

 

Senior Technical Support Engineer | CLD CTA | NI


DISCLAIMER: The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

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

Yes, as I said I know that. I don't just want to send commands, I want to receive messages from the UUT without sending commands. That's what I meant when I said communication.

0 Kudos
Message 3 of 4
(1,457 Views)

You can delete the command section and keep the response section to let the Instrument Addon poll on the VISA Read.

Senior Technical Support Engineer | CLD CTA | NI


DISCLAIMER: The attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

0 Kudos
Message 4 of 4
(1,446 Views)