Jon Morris
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by Jon Morris
-
-
19 hours ago, Fausto said:
Hello @Jon Morris.
With a USB-2408 (and USB-2416 Series), a user must configure the channel types (whether it be voltage and/or temperature) in InstaCal. Take a look at the LabVIEW example attached to this Reference Document. The example can be used to measure both voltage and temperature.
https://digilent.com/reference/daq-and-datalogging/documents/usb-2416-usb-2408-with-labview
Regards,
Fausto
Thanks for the reply. We did figure out to use AI voltage read rather that temperature. However, we missed controlling the HW clock acquisition rate through LV rather than Instacal.
We are only using one channel and so would like to get the maximum rate of 3750 Hz. The vi errors out indicating the max rate for this device is 378 Hz. Any suggestions here?
-
I am trying to use the ULx drivers with the USB-2408. ULx recognized the device and channels but throws an error when trying to read the temperature (TC) measurement. The error says that "the hardware does not support temperature measurement". This device has a native TC measurement and linearization function that seems cannot be accessed by ULx. Is that true?
-
-
Thanks for your reply Jeff. I was careful to ensure no multiple copies of the DLL but will do the search as you suggest.
Sincerely,
Jon Morris
-
Using VB6 on a legacy project with MCC USB-ctr04. Migrating from XP to Win7.
ULStat = cbDConfigPort(mlngBoardNum, PortNum, Direction) returns a value of 1. Error checking shows a dialog saying "invalid board number". Instacal identifies the board as 0 yet I still get this error. Any suggestions?
Relevant Code:
' configure and initialize DIO/ Timer board
' declarations
Dim ReportError As Long, HandleError As Long
Dim PortNum, Direction, ULStat As Long
ReportError = PRINTALL
HandleError = DONTSTOP
PortNum = 1
Direction = DIGITALOUT
' configure error handling
If gblnSimulateDAQ = False Then
ULStat = cbErrHandling(ReportError, HandleError)
If ULStat <> 0 Then Stop
' configure port as digital outputs
ULStat = cbDConfigPort(mlngBoardNum, PortNum, Direction)
If ULStat <> 0 Then End
ULStat = cbDOut(mlngBoardNum, PortNum, 7)
If ULStat <> 0 Then Stop
ULStat = cbPulseOutStop(mlngBoardNum, 0)
If ULStat <> 0 Then Stop
End IfThanks for your assistance,
Jon Morris
AVID Innovation
USB-2408 Compatibility With ULx LabVIEW Drivers
in Measurement Computing (MCC)
Posted
Here is what I found about controlling the acquisition rate.