07-20-2016 10:44 AM
Hi all,
I've made few step types which embbed XNET code to read/write CAN frames.
These step types comes with Edit step so that the settings are made easy.
However, if the user set the step wrong (bad CAN interface or whatever), at execution the module produces an error (which normal).
In case of error, the execution goes to cleanup (which might pass or fail, depending of the error) and the execution stops.
Here comes the problems :
In both sitautions I must kill SeqEdit task, relaunch TS to continue working on my sequence
Anything that I'm doing wrong ? Is this a known bug ? Any workarounfd ?
07-21-2016 05:09 PM
Hi ZyI7,
There have been issues working with XNET and TestStand before so this might not be an issue on your end. I don't believe this is a known issue but I think the best way to narrow this issue is to clarify some of the software versions as well as configurations.
What version of TestStand and XNET are you using?
What operating system are you using?
If you don't unload the modules, does the issue persist?
Can you click a correct step after an incorrect step, or does the software stop working?
Are you following regular procedure for error handling?
07-22-2016 08:28 AM
Hi Ali,
Thank you for your answer.
Here are the requested details :
What version of TestStand and XNET are you using?
What operating system are you using?
If you don't unload the modules, does the issue persist?
If I don't unload the module case 2 appears : session is initialized without errors, first write takes a long time to execute but step exists without error, second produce an error saying that the session is already used for the same action by another ressource.
Can you click a correct step after an incorrect step, or does the software stop working?
After an error occurs, TS freezes completely. I can't do anything except killing SeqEdit.exe
Are you following regular procedure for error handling?
Yes I do. Init steps are in setup step group, close steps are in cleanup step group. Module error is linked to Step.error and station/sequence/steps are set so that no error are ignored.
07-25-2016 03:11 PM
Zyl7,
I can't comment either way at this point but this could be a bug in which case we can try to replicate your setup and try to get it resolved internally.
Would you mind posting or sending in your code?
07-25-2016 03:27 PM
I don't personnally mind, but it is a code developped for a customer and I wouldn't like to share it here.
Any way to send it to you so you can try what happens ?
07-25-2016 04:21 PM
Zyl7,
I think the easiest way to do it to either call in or open a Service Request with this forum post attached. This way, we can respect your customer's confidentiality while trying to resolve the issue.
https://sine.ni.com/srm/app/getassistance