Additional NI Software Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
MaWei

[VeriStand] Channel path as parameter for RT Sequence

Status: New

When testing, the beauty of automation is, that we can do the same test on many instances just by copy & pasting the code and modify the in-/outputs. Unfortunately, the stimulus profile editor is not know for it's usability when it comes to copy & paste or even applying changes to multiple lines at once.

 

Now what would be a great addition here, would be to actually rely on the hierarchy of channels (the prime example are CAN Frames). I want to perform the same test, using different CAN Frames that contain some signals for a motor.

MotorLeft_Status/Position

MotorLeft_Status/Speed

MotorLeft_Status/ErrorBit

 

MotorRight_Status/Position

MotorRight_Status/Speed

MotorRight_Status/ErrorBit

 

To perform the same test on these signals, I'd have to call a realtime sequence with all of the above as parameters. What I want to do, is just give the Top-Level Path (MotorRight_Status and on the next call MotorLeft_Status) to the sequence and then within the sequence, read the actual signals that I need from this CAN Frame.

 

The same could be done for the physical signals of the motor if they're organised nicely.