Hello, i am trying to develop an application in C# that fetchs the data from a distance sensor SICK DT50-P1123 200mm to 10m 4-20mA distance sensor and a temperature sensor LM35DZ analog temperature sensor. I inherited a proyect which had already a DAQami configuration made for such matters, however i cannot seem to figure out how to do the same from c# (that is picking up the values).
The board connection is USB-231 i have tried VIN, AIN, daqInScan and basically every option that the documentation says but so far everything is either zeros, a 32xxxxx number which idk where it comes from and what i suspect is a voltage value for the next reason:
As i continued my research in this API it appears that the board configuration it loads for the board is the same as the one created by Instacal programm. I don't understand the relation between this two programs, moreover how could it be possible then for DAQami to work correctly then if the device number that appears in both programs (the same device then) is the same USB-231 board?
I am deeply confused and i cannot seem to figure out how to pick up the data. I attached the configuration file of the DAQami to this topic too. The board has other stuff connected to it too, but i mainly want to know the temperature and the distance sensor value.
Question
deltauser
Hello, i am trying to develop an application in C# that fetchs the data from a distance sensor SICK DT50-P1123 200mm to 10m 4-20mA distance sensor and a temperature sensor LM35DZ analog temperature sensor. I inherited a proyect which had already a DAQami configuration made for such matters, however i cannot seem to figure out how to do the same from c# (that is picking up the values).
The board connection is USB-231 i have tried VIN, AIN, daqInScan and basically every option that the documentation says but so far everything is either zeros, a 32xxxxx number which idk where it comes from and what i suspect is a voltage value for the next reason:
As i continued my research in this API it appears that the board configuration it loads for the board is the same as the one created by Instacal programm. I don't understand the relation between this two programs, moreover how could it be possible then for DAQami to work correctly then if the device number that appears in both programs (the same device then) is the same USB-231 board?
I am deeply confused and i cannot seem to figure out how to pick up the data. I attached the configuration file of the DAQami to this topic too. The board has other stuff connected to it too, but i mainly want to know the temperature and the distance sensor value.
Thanks in advance
DAQAMI_CONFIG.amicfg
Link to comment
Share on other sites
7 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