From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-17-2017 09:14 AM
I used a DLL to get ScanWorks' API into TestStand. I put in the parameters for this one function and just want to know if this is the correct format as I have not used a DLL before.
The functions parameters are also attached below.
The issue I think I have is that when I try to input the incorrect String parameter of a hardware that is not available or listed like "UB-10", it does not output any error when it should. I am not sure if TestStand is suppose to send a error message or will it be in ScanWork's test results?
Can anyone guide me toward the correct solution or confirm I am on the right track?
07-18-2017 02:49 AM
Hi,
TestStand won't know that it's an incorrect reference. If the datatype matches what is expected, then that is all TS will know.
If the value of that does not match something inside the dll, then the dll itself needs to provide the error information.
Apart from that, you seem to be on the right track. I am surprised that the function doesn't return an error if it can't find the hardware, but as you've mentioned, that's something that ScanWorks should have sorted.
Nico
10-09-2019 11:27 AM
Does anybody have this ScanWorks API document? I can't find it anywhere
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-25-2019 06:36 PM
Disregard, the easiest way to get the info is to use the Help window in the ScanWorks GUI and search "API".
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'