08-09-2022 06:47 AM
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?
08-09-2022 07:44 PM
Hi bkarkar,
Instrument Addon allows you to send only commands.
From Instrument Addon Quick Start Guide.md:
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
08-11-2022 06:53 AM
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.
08-12-2022 01:07 AM
You can delete the command section and keep the response section to let the Instrument Addon poll on the VISA Read.
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