04-18-2006 06:11 PM
04-19-2006 05:43 PM
04-20-2006 02:20 PM
04-20-2006 02:33 PM
Hi Andy,
The file has been modified somewhat since I last tried to attach it. The subVIs for the event callbacks only have the standard (generated) i/o variables and I included a simple dialog prompt to them to tell me when the module was being called.
The 'Write' section (bottom left) was just to try to send commands to the product as the protocol for this is defined and known. It still doesnt work, but I hope to have that sorted today... (maybe a little optimistic).
A certain amount of code debugging for this is hardware dependent but I will appreciate any help or suggestions you might have.
Thanks
Jared
"Chaos, panic and disorder - My work here is done."
04-21-2006 05:16 PM
04-25-2006 03:10 PM
Thanks for your suggestions Andy,
I typically tidy up all the sequencing and error cluster stuff after I have got the principle parts sorted out first. But your point is noted.
I thought I had tried this creating Automation Open approach and indeed I had (I repeated it just now). I cannot see our OCX control in the available list, and nor is it there if I de-select the Creatable Objects checkbox. I tried browsing for the ocx file and selecting it but this doesnt appear to do anything. If I place an Automation Refnum instead and select the ActiveX Class, it is available in the list here, but it still doesnt work and the error says it is passing a null refnum.
Yes, I had created callback VIs using the method you describe, and indeed obtained the how from that very example. I then included a dialog box in the callback vi to display "USB connected/disconnected/read/readerror" messages when the callback vi was being run.
Any further suggestions to help me solve this?
Jared
04-26-2006 04:57 PM
05-02-2006 03:12 PM
05-03-2006 06:06 PM
05-04-2006 06:16 PM