11-30-2007 02:13 AM
12-03-2007
01:15 PM
- last edited on
06-17-2025
06:49 PM
by
Content Cleaner
Hi Vivek,
I just looked at the CAN Receive.VI example and noticed that it does not have anything wired in the VI connector pane. The connector pane wiring is what LabVIEW uses to specify the parameters for the DLL. If nothing is wired here, TestStand will not be able to use the DLL as it will not know what parameters to pass in or what data to receive. Did you setup the connector pane to link to the inputs and outputs of this VI? If not, you can see an example of how to do this at https://www.ni.com/docs/en-US/bundle/labview/page/selecting-a-connector-pane-pattern.html
Additionally, it appears that CAN Receive.VI executes in a while loop, and waits for the stop button to be pressed, however; as a DLL, the front panel will not be displayed and you will not be able to press the stop button, which will essentially put the function into an infinite loop. You will need to modify this VI to only receive once, or a specified number of times, by either removing the while loop, or by replacing it with a for loop and specifying the number of iterations that the for loop should execute.