04-10-2012 12:28 PM
OK, I have two potentiometers that are giving me data on how many degrees they have been turned. I used the calibration on the DAQ assistant. I need this data exported to an excel sheet.
I had it going with one potentiometer and everything was dandy. Then I added my second one and I've got a mess. The only way I can get my data it shows up in an excel sheet but it's not calibrated, it's just the voltage readings instead of the degrees like I needed.
What am I doing wrong, I feel like this should be much simpler than I'm making it.
Thanks!
04-10-2012 12:42 PM
Di you define the task that will generate the data? Is the task suppose to have 2 channels or 1? In the example you gave (I have no task defined) it showed that you are extracting only from a single channel. You might want to reconsider how you do the program. I suggest you generate the code associated with the express vi. It tells you a lot on what it was created.
04-11-2012 08:20 AM
I'm sorry, but I have no idea what all that meant. I don't think I have any tasks? I don't even know how you would go about making any. And I don't know anything about express vi...
04-11-2012 11:47 AM
A piece of advise, since you are using a potentiometer a good method to obtain an angle measure is to setup a voltage task, creating a custom scale to relate voltage with angles and then save the data to a file. The export data to excel is suppose to store the displayed data of the graph to excel but you can also use a write to measurement file. I don't know if you noticed but the DAQ Assistant in the attachment is setup to measure strain, which is not close to what you are looking for. I hope this helps
04-11-2012 01:36 PM
OK, thanks, I'll look up the voltage task thing. I have never done that before. I'm not sure how yet...
And yes, it's set up to measure strain because that's what the NI support person told me to do over the phone. The method we were using at first was extremely complicated, and I've since figured out how to simplify it a lot, but since I don't really know what I'm doing I left some things the same because I knew they worked.
If you happen to have an example of what you're talking about, that would be amazing.
04-13-2012 09:27 AM
OK, I tried doing a new task to measure voltage, but my device isn't showing up. Here's what all I have:
1 NI cDAQ-9178
4 NI 9237
25 or so NI 9499
25 or so RJ50 cords
Does anyone have any advice for this?
04-16-2012 09:33 AM
Check that the NI device loader is running (follow the instructions in this link), Change to a different port and try not to use a HUB.