Jump to content

tycbrown32

Members
  • Posts

    3
  • Joined

  • Last visited

tycbrown32's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Thank you for that, @Fausto. After looking at that example I was able to discover my issue. My understanding of how to set up the channels was incorrect. Instead of configuring them individually you configure the differential channel which consequently configures the pair of SE channels that make up that differential. Once I reconfigured your example program I was able to establish the appropriate methods for configuration and was able to troubleshoot my program. It only took me about 30 minutes to find and fix from that point. It turns out that my issue was in the a_in_scan of my start_analog_input_scan function. I was using a variable for my range that got redefined when configuring each channel. The last input channel configured was a TC type so that was the range being used for my scan. - TB
  2. Appreciate your quick response! I did try configuring in InstaCal (v6.74 for Windows) thinking that might be my fix, however that caused me to not be able set up at all (program could not find an eligible range). Should I not have to run configuration in my program if I use InstaCal? I attached a snip of my code for setting up my channels, the code used to configure the channels that calls the channel setup, and how I am defining the channels. My SE channels are configured first, then the TC channels. It is interesting to me that the already-configured SE channels seem to be overwritten when the TC channels are configured. I have observed it in Debug mode where the eligible range for the SEs is selected to be BIP10VOLTS (expected). I have not been able to see that they change when the TCs are configured (I haven't figured out how to pull that info after the configuration stage), but they do seem to clip or be limited to the TC range. Possibly related, if you see the comment in line 220 of the set_up_channel code. I am unable to explicitly tell the channel input mode to be SE unless the channel number is less than the maximum number of differential channels (in other words: I cannot explicitly tell the AnalogInputMode of channels 17 - 31 to be SE). Thank you, TB
  3. I am using the OMB-DAQ-2416 to measure using (9) thermocouples and (11) analog voltages. The thermocouples are on Diff channels 0 - 8 the analog inputs are on SE channels 11 - 15 and 26 - 31. Programming is done using Python. I am able to configure all channels with no indicated errors. Also everything seems to be fine when I take measurements using ul.v_in_32 and ul.t_in methods from the ul.py library. However, when scanning using the ul.a_in_scan method (to read from a continuous background scan) my SE analog voltage values no longer read correctly (they seem to clip at the minimum voltage range (BIPT078VOLTS). If I remove the TC channels then scan the clipping issue no longer seems to be present, but only one SE input reads correctly. I am having trouble understanding why this would be (that one method of reading data is correct and the other isn't with the same configuration). This seems like a lot to convey through a forum, but could I get some assistance on troubleshooting this? I will try to clarify if needed. Thank you, TB
×
×
  • Create New...