hi. i have a problem using 2 vm167 together. I have a project using VB 2012 on windows 7 x86
i have allready made the first card (card 0) and the second (card 1).
and in button_ klick i have this code
Cards = OpenDevices()
Select Case Cards
Case 0
Label_cardsaddress.Text = “Card open error.”
Case 1
Label_cardsaddress.Text = “Card 0 connected.”
CheckBox_card1.Checked = False
CheckBox_card0.Checked = True
CardAddress = 0
Timer1.Interval = 100
Timer1.Enabled = True
Case 2
Label_cardsaddress.Text = "Card 1 connected."
CheckBox_card0.Checked = False
CheckBox_card1.Checked = True
CardAddress = 1
Timer1.Interval = 100
Timer1.Enabled = True
Case 3
Label_cardsaddress.Text = "Cards 0 and 1 connected."
CheckBox_card0.Checked = True
CheckBox_card1.Checked = True
Timer1.Interval = 100
Timer1.Enabled = True
Case -1
Label_cardsaddress.Text = "Card not found."
CheckBox_card0.Checked = False
CheckBox_card1.Checked = False
End Select
the problem after trying to plug and unplug the USBs again and again seem to fixing… but after restart i have again the same problem…
i tried it and in other pc and i had the same problem.
if noone knows something about this would be helpfull!
i have allready set the jumper j5 in one card not both. and i have allways the same problem… but when i try and try again and again by switching the USB ports in the end they work together…
Does everything work fine if you use only one card (with jumper J5 set or not set)?
Do you see any difference if you make the tests with the other card?
generaly the vm167 has problems with voltage? I take power for my system from the 5V pin on the card… i though that if i have voltage drop cause of that voltage providing made the USB link is disconnecting instantly.
Does everything work OK if you do not draw any current from the +5V pin on the VM167 card?
You should not take more than some tens of milliamps from the +5V pin.
Does the problem occur also with the programs DEMO167.exe and DIAG167.exe ?
If yes, does the problem occur only if two cards are connected to the PC ?
Is there no problem with single card if address jumper is set or not set?
Have you tried with the drivers VM167Driver and VM167DriverWinUSB ?
I think the driver VM167DriverWinUSB (v.1.0.0.2) should be best for Windows 7.
You may test with one card:
What does the OpenDevices return in these cases:
One card with the address jumper J5 set is connected (should return 1).
One card with the address jumper J5 removed is connected (should return 2).
Note: The USB cable must be disconnected when the address jumper setting is changed.
if i have a system made on vm167 with more than one power sourses 24Vdc - 6Vdc - 5Vdc (from vm167). Could the problem comes from grounds? For exaple if i return in digital pins (5,6,7,8) power more than 5Vdc this could make my system unstable and cause this problem?
I have a system with transistors and relays i give power from VM(5V) to transistors and reinforce the power with a 6V battery. Then i go to relays and come back to VM(digital pins 5,6,7,8) with 6V power.
Hi i have the same problem
I bought two specifically to get more adc
even the demo does not see both
windows 8
I can use one as 0
or the other as 1
but not both
even the demo does not recognise 2 cards
Is it always the card connected to the same USB socket not detected?
Can an individual card with address setting 0 or 1 be detected if connected to any of the USB connectors?
hi Yes
I can swop the card and change the jumper and it always seems to prefer to read the card 1
it always cancels the 0 card out
i.e change jumper
plug cards in
read cards
it only sees card 1
If you are now using the drivers VM167DriverWinUSB (v.1.0.0.2), uninstall and remove them.
Then unplug and plug the VM167 card and install the driver located in the folder VM167Driver (v.1.0.0.6) and try again.
Check in the device manager that both of the cards are now using this driver v.1.0.0.6.
Hi
Still nothing even in demo
if I plug in only card 0 it shows
as soon as I plug in card 1 with card 0 and click open it goes to card 1
driver version is 1006
Hi,
Have used VM167 for some years in a customer project.
Sometimes one card is connected some times two.
Up to now everything works just fine.
When running on Windows 10 version 1803, having only USB 3.0 ports I also get the problem described above.
Using one card works fine, problem comes when two are connected. Sometimes I can get connection to both cards, depending on order of insertion of USB plugs and to what ports.
The problem occurs only on machines having USB 3.0 ports, windows 10 machines having USB 2.0 is OK.
I have tested with just bare VM167 boards and also updated drivers to latest.
Suggestions ?
Please help!