08-10-2011 03:35 PM
Hi All,
I am currently trying to use an executable to control some hardware. The .exe has some inbuilt safety limits - it reads some sensors using Digital IO - and if these are in the incorrect state my operation aborts. This works perfectly when I have the system I am working with correctly configured. However we are working on a second system which has the same core hardware but none of the sensors (or the Digitial IO card to read them) fitted.
Ideally I would like to fool the code into seeing that the DAQ card is present and I have done this through creating a simulated device in MAX. However once I shut down MAX and start my code all the Digital IO values flicker on and off. When I run a test panel with my VI already running there is a resource conflict. Has anyone got an idea how I can get the simulated DAQ card to simulate a constant signal of 0V or 5V once MAX is closed?
Thanks for your help,
Dave
Solved! Go to Solution.
08-10-2011 03:43 PM
You don't have the ability to set what the simulated board will read. If I recall, it just counts from 00-FF for a port.
08-10-2011 03:49 PM
Ah that's a pity - I might wander over to the idea exchange to suggest is as I think it would be useful!
Thank you for the quick reply,
Regards,
Dave
08-10-2011 04:02 PM
The idea is up on the DAQ idea exchange board now! Please vote if you think it is worthwhile,
Thanks,
Dave