Jump to content

JRys

MCC Staff
  • Posts

    1,460
  • Joined

  • Last visited

Posts posted by JRys

  1. Use the beta version, which is at https://github.com/mccdaq/daqhats/tree/pi5

    Follow the instructions below to install. 

    1. $ cd daqhats

    2. $ sudo ./uninstall.sh

    3. $ git pull

    4. $ git checkout pi5

    5. $ sudo ./install.sh

    6. $ pip install daqhats (manually add Python support)

    You can switch back to the released library by uninstalling the library, running “git checkout master”, and then installing the library.

    Use the installed MCC DAQ HAT Manager utility application to verify communication with the MCC 118/MCC 128 or use terminal commands.

    $ sudo daqhats_read_eeproms

    $ daqhats_list_boards

  2. Ping-ponging between the two buffer halves is an easy and efficient way to manage a circular buffer. To perform a single acquisition of a fixed number of points, you could use the current count parameter from GetStatus to determine when to end the acquisition. You could also change the scan options to just ScaledData. This will tell the AInScan function to wait until the acquisition is complete before returning control to the program. Once it returns, use ScaleWinBufToArray to copy the driver data into an array. 

  3. Before starting, configure your device using the InstaCal utility. Make sure it's closed before starting DASYLab.

    Next, run the DASYLab Configurator utility, select the Packages tab, and open Data Acquisition. Find the Measurement Computing driver and enable it. Closing the Configurator will start an installation program. When it gets to the Destination panel, press the Change button and change the path to reflect DASYLab 2022.1_en instead of DASYLab. When the installation is finished, start DASYLab and review this video. It will demonstrate the fundamentals. To add calculations, use the Formula module. There is also a Scale module for simple mx+b linear conversion. I've also attached a DDE example that demonstrates how to use it to transfer data to Excel. Load the example spreadsheet using Excel before starting DASYLab, then run the example DASYLab worksheet. If all goes well, you should see live data entered into Excel. 

    DDE-Example.xls DDE-EXCEL_V14.DSB

  4. The worksheet (.dsb) file is the program. Open it with DASYLab, and it will display the block diagram, which consists of modules (blocks) wired together. OBDC modules are not wired to other modules; they sit separately. Double-click the module to find the ODBC source name listed in the Data Source section.  This is the name you look for in the ODBC Data Source Administrator (32-bit) to locate the file. Move the file to your new computer and register it with the ODBC Data Source Administrator (32-bit). Hopefully, there's only one. 

    Also, check your Write Data modules to ensure it's using a valid path. Write Data is used to save acquired measurement data to a file. 

  5. An easy way to check the voltage output is to connect it to an analog input. For the measurement, set the input to single-ended mode. On my unit, I've connected VDAC0 to CH0H. When I set the output to zero, the measurement is approximately 1.2 mV. If your offset is much larger, the input can be checked by connecting it to GND instead of the voltage output. 

    To verify thermocouple performance, a thermocouple calibrator is required to apply a known temperature. Configure the channel for Temperature with the Data Rate set to 60 Hz. Connect the thermocouple and let it and the unit warm up for 30 minutes. If you fail to let it warm up, or the Data Rate is set higher than 60 Hz, you can see errors of several degrees.

    If you want us to do the testing, private message me with your contact information, order information, and device serial number, and someone will get back to you with the details. 

     

  6. We recommend the DASYLab software for applications that capture over a million scans.

    An XOR gate module could be used for your application to check the data while it is being saved. You would connect one input to the USB-DIO32HS input and the other to a global variable, which is set to the ideal response. The module will set its output to TRUE if the two are different.  For example, if the global variable is set to 255 and the response from the device is 254, the gate's output will be set to TRUE. A Counter module could be used to count the number of times the gate transitions from FALSE to TRUE. DASYLab BASIC is the minimum package for this kind of application.

     

  7. The USB-2416 inputs are multiplexed, switching them one by one to the A/D converter. This style of design requires a low-impedance signal, while open inputs are high-impedance. If you have a channel connected to a voltage source and another channel that is not connected, the second channel can respond to the first. Connect the second channel to the device ground to eliminate any cross-talk. 

  8. You can get previous versions of the DASYLab software here.

    The USB-2408 is a popular device because it measures both voltage and thermocouples. If it has worked for you, I suggest you stick with it. If you are looking for a faster device that only measures voltage, consider purchasing the USB-1808X or USB-1608GX. If you like the USB-2408 but need more channels, consider buying the USB-2416.

    If you want to get the same version of DASYLab, please reply with the last five digits of the DASYLab 13 serial number. 

    Some worksheets before DASYLab 14 may have trouble loading, but generally, they do not.

  9. You have an IOtech PersonalDaq/54, which was also sold as the Omega OMB-DAQ-54. To get it working with DASYLab, you must first install the Personal DaqView program because it installs the Windows driver. Once you have done this, plug your device into the USB port and make sure the power LED stays on. If the LED goes dark after 30 seconds, the USB port is incompatible with the device. Updating your computer's BIOS and motherboard drivers may help if you can get Windows 10 support from HP. 

    To evaluate DASYLab, run the Configurator and, on the first page, check the Install Evaluation Version. To add support for your device, copy the attached file to \Program Files(x86)\DASYLab 2022.1_en\pool\packages\. Rerun the Configurator, and select the Packages tab. In the Available Packages, open Unsupported Drivers and enable the IOtech PersonalDaq support.

    IOtechPDAQ5x.14.0.0.0.en.dlp

×
×
  • Create New...