04-12-2011 07:58 AM
I’ve used Labview in the past but I am no expert and often find myself going around in circles until I eventually find an answer!
I have written software before that captures data using rs232 serial port. I now have a new device which uses USB. I’d like to put an option in so that I can simply click from USB to serial depending on what device is connected. I realised I will have to mask the strings coming out along with device options to make this work but that should be simple.
The new device comes with basic software and has a Silabs Driver. So what I’ve done so far is;
Problems I am seeing on my PC
As I said I’m no expert and if you were able to give me some guidance on this, so I can communicate correctly I can get on with the rest of the project. It seems like the string has a time limit leaving the machine and the driver is only valid during this time period.
OR, can i locate the orginal dll and control the device from the original software driver? If this is the best route, how do i locate the correct dll?
Thanks
04-14-2011 10:08 AM
Hi DelEngUK,
I'm having a bit of a stab in the dar here but:
It wouldn't be anything to do with your VID/PID combination not being unique? If the silicon labs driver is already installed, could there be a conflict if the Vendor ID and Product ID is the same for each?
And just as a minor point: Windows ins't being clever and trying to disable your USB ports to be more power friendly is it? I've seen Windows doing this with USB scopes when there hasn't been communications over the port in a few minutes. this link addresses that issue in Windows XP:
I searched through our internal records of past problems, but I wasn't able to come up with anything immediately useful or similar sorry. I shall continue to look around though.
Lets treat my post as a bit of a bump too. If anyone else out there can add their 2 cence then that would be great.
Thanks!
04-14-2011 10:37 AM
Sounds to me like your device is having trouble powering itself over USB. Try either an active hub or connecting it directly to the motherboard.
If that doesn't work see if the device has external power.
Non-ocnfigured devices are allowed to only draw something like 50mA whereas powered up and configured they may draw up to 300mA. If the port cannot supply the 300mA (passive Hub for example) then it will appear, disappear, appear and so on.
Shane.
04-15-2011 02:11 AM - edited 04-15-2011 02:12 AM
Hi,
well after lots of digging around and more work on my VI i eventually ended up with an error message of not being able to compile gencode and running out of memory (sorry didn't copy the exact error).
Went back to version 8.6 from version 2010 and its now working fine.