Jump to content

Jeffrey

Members
  • Posts

    306
  • Joined

  • Last visited

Everything posted by Jeffrey

  1. The answer is in the TracerDAQ help. in short, After you have collected data to a 8.sch file, from the Strip Chart menu, you select File >> Save as... The Save As dialog appears. You select a *.sch file and change the "Save as type" to either *.csv or *.txt, then click Save.
  2. I would not use InstaCal for that, it will not record the data for you to access via a txt file. I suggest you use TracerDAQ. it is included in the MCCDAQ.exe on our downloads page.
  3. The Windows Python support is found here: https://github.com/mccdaq/mcculw help file: https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm Example program (I already posted to you:
  4. For Measurement Computing question, please post them here: https://forum.digilent.com/forum/39-measurement-computing-mcc/
  5. Included with the MCCDAQ.exe download is TracerDAQ, it is free, runs on Windows XP, and does MOST of what DAQami includes. You must run InstaCal first then you can run TracerDAQ. Note MCC does not offer support for XP as it is obsolete per Microsoft, and due to its vulnerabilities our IT will no longer allow us to install it.
  6. MCC DRV drivers are included in the installation of DASYLab 2022. All you need do is run the Configurator, and enable the Measurement Computing driver on the Packages tab.
  7. DATA RATE, the parameter set in InstaCal, is related to settling time. It is explained in the User's manual (https://www.mccdaq.com/pdfs/manuals/USB-2416.pdf), on pages 16 to 17. Normally set in InstaCal, but can be set programmatically (which is why I asked you specifically if you were referring to DATA rate or SAMLPING rate, to which you replied "rate"). SAMPLE RATE is the rate at which the AInScan() samples each channel in a scan. Sample rate can only be set programmatically (or in a canned app such as DAQami). For the USB-2408 and USB-2416 series, these 2 rates are a bit related. For example: Option 1, let's assume you want to scan a +/-10 V signal attached to channel 0, set to voltage, as fast as the device is capable. So In InstaCal you set the DATA RATE for that channel to the highest rate, 3750 Hz. Run that number through the calculation found on page 16, the resulting value is ~1103 samples per second, max. OR, option 2, Let's assume you want to scan a thermocouple (+/- 78 mV range) attached to channel 0, set to temperature, as fast as the device is capable, AND returns good data. So in InstaCal you set the DATA RATE for that channel to 60 Hz. You set this to 60 Hz to help remove AC line noise from the thermocouple (an very low voltage signal, that can be affected by external electrical noise). Run that number through the same equation, you get ~55 Hz. for either option, if you are using multiple channels of all the same and the data rate is set all the same, the the max sampling rate (in your app) would be the 1103 samples per second divided by the number of channels for voltage. or 55 samples per second divided by the number of channels if TCs This is pretty straight forward when looking at 1 channel or all channels of the sample type in a scan. But when more channels are used that are a mix of voltage and temperature, i.e. large and small signals, then the second equation on page 16 needs to be used. This is required so that the A/D converter has time to burn off any residual glitch energy on the multiplexor. As it states in the User's manual, "You can control the amount of the noise filtering by adjusting the data rate setting. By reducing the data rate, the averaging of samples increases, and noise drops correspondingly. " To be clear, this averaging etc. is done inside the A/D converter, not in the library and not in your code. If you would like to learn more about how that works, I recommend you read the data sheet of the A/D converter, ADS1256, 24-bit Sigma Delta. Sampling rate, is used in your C# scan app, to set the rate the A/D converter samples voltage(s) from the selected analog input, as configured by the on board crystal oscillator and related circuitry. In short, you set the data rate to configure the A/D converter's settling time to provide the best, most accurate data for a 24 bit sigma delta converter. The Data Rate(s) you use, set the maximum sampling rate for the AInScan(). Then based on that value (or those values), you can set the app's A/D sampling rate to specify how fast the A/D can acquire data to your app.
  8. Hello @Trevor robinson Measurement Computing has a strict policy for not sending out schematics, at all.
  9. Hello @MikeHam Measurement Computing no longer offers repair services for that device. The part was renamed around 2005 to USB-1608FS, so that PMD-1608FS is over 17 years old. I believe it is a 2N7002, but you can't hold me to that.
  10. Conversation moved to private messaging...
  11. Just guessing here, because you did not include this information, USB-2416 perhaps? Do you mean DATA rate (as set in InstaCal) or SAMPLING rate (as set in your C# app)? -the two are very different
  12. What is the make and model of the WiFi adapter do you have?
  13. Glad to hear it. Due to the need for personal information exchange, this conversation is moving to private messaging.
  14. I'm not sure why you cannot set the acquisition duration to 1 second, as I am able: I disabled Continuous operation. Perhaps you have a bad installation? Yes, there is LabVIEW support as well as DASYlab and programming support for MS VB.NET, CS.NET and C. Examples are provided, For LabVIEW: C:\Program Files\National Instruments\LabVIEW 20xx\user.lib\LV-Link3 For syntax based programming: C:\Users\YourLogIn\Documents\DataTranslation
  15. Hello @wd74 Just to see if the Physical channel.vi operates, would you please try one of our examples, those found at C:\Program Files\National Instruments\LabVIEW 2022\examples\ULx For digital io of the USB-1208FS-PLUS or USB-1608G, for output try Generate Values.llb >> ULx Write Dig Chan.vi, for input, try ULx Read Dig Chan.vi. We have no other reports of this phenomenon, so I believe it is something specific to your computer. As you stated above, I take this to as, something must have changed on your system, with or without your intervention. Perhaps it was a windows update or a similar, non-user controlled action. I know this is an unappealing suggestion but, I suggest you uninstall / reinstall LabVIEW and ULx for NI LabVIEW, or just as a test, try installing both software on another computer.
  16. Hello @Todd Those are the latest drivers, no updates are planned.
  17. Hello @Subhadeep Basu Those are preset options. A user can enter their values, but not milliseconds. You can enter one second and capture the data, but will have to extract what you want from the file post process.
  18. Hello @han_hg You can use up to 8 MCC hats can be stacked and used at a time. You can mix and match the MCC HAT models in the stack. MCC does provide sample apps/programs for each model HAT to help get you up and running with 1 or 2 HATs. We tried to make it so you could even log collected data for one HAT, and those examples are provided in the two most popular Linux/Raspberry PI OS programming languages, being C and Python. However it is up to you the User, to alter our examples or write your own app to suit your needs. we do provide an extensive help file explaining how the various library function calls work and you can also study the examples so you can achieve your goal. Here is the link to the support / help file: https://mccdaq.github.io/daqhats/overview.html#mcc-172 If you feel you are not confident in your abilities to accomplish this, you will need to find a consultant to complete this task for you.
  19. no, open channels will not affect terminated channels, but terminated channels will show ghost data on open or unterminated channels. The USB-2416 is a multiplexed device, so it is possible to damage one input or input pair and the others still work. You may need to unwire the inputs of the USB-2416 and connect them to some other, simple signal like the output of a programmable power supply. Or you can use the 5V output as your test signal, or just ground the inputs and see if it reads 0V. For TCs, shorting the input high and input low together will effectively allow you to read the CJC sensor ie ambient. just to make sure you configured your USB-2416 correctly, In InstaCal, your temperature channels should have the DataRate parameter set to 60 Hz. anything at a higher rate will show you abnormally high temperatures by either a few degrees or more.
  20. Open it and test it with InstaCal's loopback test would by my suggestion. you can use the analog outputs with the analog input test.
  21. Here is an example (fictitious) of an MCC cal cert. is that acceptable? MCC_CalCert_18209.pdf
  22. Definition of a chart recorder is a plot of data referenced by something. In DASYLab's Chart recorder, the default is time. You do have an option to set it to the sample index but there MUST be some type of X axis reference. To set it to sample index, you can set it like this: For the write Data module you can disable the time stamp column by going to the properties of the Write Data module, select File format ASCII (CSV), click the Options... button, and set it like this: the resulting data file appears like this:
  23. Right click on the name of the app, and select "Run as administrator."
  24. The TCType is not stored on the device. I know you are using Linux, but you can confirm this on Windows with InstaCal: With InstaCal installed and your USB-2001-TC attached. Run InstaCal, double click on the USB-2001-TC and configure the channel for your preferred TC type (not the default). Install InstaCal on another PC and attach your USB-2001-TC. Run InstaCal, you will see the TC type is now back to the default. Meaning the TC type is not stored on the device. As a data point, we do have some devices that do store their user configured settings internally in NVRAM, so when you move the device from one PC to another, InstaCal shows the stored configuration. That is not the case for the USB-2001-TC. There is no "InstaCal" for Linux so you must set the tc type programmatically anyway, so I don't see this as a problem. From the Linux example I posted: ai_config.set_chan_tc_type(0, TcType.K) I see where you found that, ULHELP hardware considerations for the USB-2001-TC, As stated, "Saving configuration settings InstaCal allows you to save configuration settings to a file or to load a configuration from a previously saved file. You can configure the USB-2001-TC to measure temperature data collected by one of eight thermocouple types — J, K, S, R, B, E, T, or N." "InstaCal allows you to save configuration settings to a file or to load a configuration from a previously saved file..." The file is cb.cfg, and is located in C:\ProgramData\Measurement Computing\DAQ. This is a text file created by InstaCal, and you can read it using Notepad.exe or similar. But you are running Linux so there is no cb.cfg file to read from.
×
×
  • Create New...