02-02-2016 07:30 AM
hi guys,
please, I would like to adapt the differential signal output of cRIO (-+10v) and the ended signal input of m yRIO (0-->5v). what the best solution ??
02-02-2016 07:38 AM - edited 02-02-2016 07:39 AM
Your question doesn't make sense. You haven't posted any code or a detailed description of your problem.
What do you mean 'adapt'? You want to connect the output of your cRIO to the input of a myRIO? Well, for a start, the voltage levels are different so you need to create an electronic circuit (or use a signal amplifier/reducer with gain/offset settings) that converts the +-10V to a 0-5V signal (e.g. to quarter the input signal (20V to 5V) and adding 2.5V). Unless you're only going to output 0-5V from the cRIO then you can just wire the negative wire from the cRIO AO to AGND and the +ve output from the cRIO AO to one of the AI channels on the myRIO. If you use AI0/AI1 on the myRIO MSP connector, those are differential +-10V analogue inputs.
02-02-2016 07:38 AM
What levels are you actually putting out of the cRIO? If you control it to only be in the 0-5V range, then you can just wire up directly. If you want to provide some protection, use an op-amp that can handle the over voltage and clip the levels.