We have purchased the DT9837A-OEM and now I have started to learn how to develop a software for acquiring accelerations from two IEPE sensors (PCB 352C33) in Ubuntu 22.04. We are a bit stuck with the understanding of the UL for Linux. Specifically, for the AInScanIepe program, I have the following questions:
1. If I exit the program using 'ctrl+c' instead of 'enter', I cannot execute it again as the resource of the DT9837A seems freeze. This lasts until I unplug the USB and plug it again or do a shutdown of the PC and then turn on again. I observed that exiting with 'ctrl+c' doesn't execute the line with the ulReleaseDaqDevice function, so I think this is the main reason. Is there any way to recover from this status without unplugging & plugging the USB or doing a shutdown of the entire system? I've tried to call ulReleaseDaqDevice(1) or something alike but didn't succeed.
2. I can see that the device DT9837A only supports BIP1VOLTS and BIP10VOLTS ranges. I supposed that the correct one was the BIP10VOLTS ranges, but my supplier of the piezoelectric accelerometers (PCB 352C33) said that they are expected to return a -5 to 5 voltage (as they have a sensitivity of 100 mV/g and range +- 50 g's peak). So, how can I read them? Should I use the BIP1VOLTS option and then multiply the values by 5? Should I use the BIP10VOLTS option and expect the values to be always in the range of the A/D converter that matches the -5 to 5 V values? This is very important as we have ordered a big amount of piezoelectric sensors similar to the 352C33, as your commercial team told us these sensors are compatible with the DT9837A.
Question
adrimaths
Hello,
We have purchased the DT9837A-OEM and now I have started to learn how to develop a software for acquiring accelerations from two IEPE sensors (PCB 352C33) in Ubuntu 22.04. We are a bit stuck with the understanding of the UL for Linux. Specifically, for the AInScanIepe program, I have the following questions:
1. If I exit the program using 'ctrl+c' instead of 'enter', I cannot execute it again as the resource of the DT9837A seems freeze. This lasts until I unplug the USB and plug it again or do a shutdown of the PC and then turn on again. I observed that exiting with 'ctrl+c' doesn't execute the line with the ulReleaseDaqDevice function, so I think this is the main reason. Is there any way to recover from this status without unplugging & plugging the USB or doing a shutdown of the entire system? I've tried to call ulReleaseDaqDevice(1) or something alike but didn't succeed.
2. I can see that the device DT9837A only supports BIP1VOLTS and BIP10VOLTS ranges. I supposed that the correct one was the BIP10VOLTS ranges, but my supplier of the piezoelectric accelerometers (PCB 352C33) said that they are expected to return a -5 to 5 voltage (as they have a sensitivity of 100 mV/g and range +- 50 g's peak). So, how can I read them? Should I use the BIP1VOLTS option and then multiply the values by 5? Should I use the BIP10VOLTS option and expect the values to be always in the range of the A/D converter that matches the -5 to 5 V values? This is very important as we have ordered a big amount of piezoelectric sensors similar to the 352C33, as your commercial team told us these sensors are compatible with the DT9837A.
Thanks in advance. Best regards,
Link to comment
Share on other sites
16 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now