Search found 9 matches
- Tue Sep 19, 2006 10:11 pm
- Forum: VB and VBA (Excel, Access)
- Topic: can I use USB ADC11/10 converter as timer for short delays?
- Replies: 4
- Views: 7623
Sorry for the double post, but it got me wondering just how short a delay is possible with VB6 code. I tried the following; 'Create module - modDelay - and paste the following code Declare Function GetTickCount Lib "kernel32" () As Long Public Function WaitOnDelay(DelayWaitms As Long) As Long Dim St...
- Tue Sep 19, 2006 9:26 pm
- Forum: General Software Discussions
- Topic: Prob with Dell laptops and USBADC driver anyone?
- Replies: 1
- Views: 3106
Prob with Dell laptops and USBADC driver anyone?
I have code that executes reliably on a 'beige box' homebuilt PC. When I run the same code with the same drivers on my Dell Precision M70 it will hang after a few readings while trying to poll the dataready call from the ADC11. I have tried flashing the bios, updated chipset drivers and fiddling wit...
- Tue Sep 19, 2006 9:20 pm
- Forum: VB and VBA (Excel, Access)
- Topic: can I use USB ADC11/10 converter as timer for short delays?
- Replies: 4
- Views: 7623
The code that you have listed is the same as that used in the pico demos, so it should be OK. i.e Start the requested AtoD loop and then poll for Ready (capture complete). As for calling it in quick succession, that is also quoted in the demo as a away of collecting a sequence of 'almost' joined blo...
- Sun Sep 17, 2006 9:37 pm
- Forum: VB and VBA (Excel, Access)
- Topic: ADC11/12 VB driver
- Replies: 4
- Views: 7369
- Sun Sep 17, 2006 9:32 pm
- Forum: VB and VBA (Excel, Access)
- Topic: can I use USB ADC11/10 converter as timer for short delays?
- Replies: 4
- Views: 7623
- Wed Sep 13, 2006 1:13 pm
- Forum: VB and VBA (Excel, Access)
- Topic: Probs with dll 2
- Replies: 2
- Views: 5569
I've dabbled further, and I can get FAST collect to work if I ship the command that checks adc11_ready, on my DELL laptop it never returns ready, but if I skip the command I can retrieve the data, on my desktop machine, it appears that this is the call causing that may be causing the problem. I can ...
- Tue Sep 12, 2006 7:02 am
- Forum: VB and VBA (Excel, Access)
- Topic: ADC11/12 VB driver
- Replies: 4
- Views: 7369
The VB code example is buggy - even in the latest software pack. You need to modify the following lines in Open_Click to use the USB device port = 101 product = 111 The above is for USB ADC11 modify to suit your unit - definitions for others are in the ADC help file. The program also needs two more ...
- Sat Sep 09, 2006 10:20 pm
- Forum: General Software Discussions
- Topic: Need help with ADC11 vb driver
- Replies: 1
- Views: 3221
Need help with ADC11 vb driver
I have posted in the VB section, but since then have experimented further. Using vbstudio I have been able to observe the errors and it seems that the driver is being upset by the call parameter decleration, I have checked against the documentation and it seems to be OK - the error seems to be in th...
- Sat Sep 09, 2006 1:27 am
- Forum: VB and VBA (Excel, Access)
- Topic: Probs with dll 2
- Replies: 2
- Views: 5569
Probs with dll 2
Please help. I have now discovered that the get single reading call just does not work. I've tried the scan number of channels and obtain a block of readings call and that returns sensible values, but ..... , the driver seems to crash constantly, especially when you try to close the vb form window o...