01-06-2012 01:12 AM
Because I'm not sure how to refer to them as a group.
Well, because my previous vi only let my DAQ(STC) model no. 6020E read on one channel, I switched to a new set of .vis. They solved my channel problem, but in exchange, they introduced a set of new ones.
First, when the .vi runs without shift registers(used a function generator for testing), the count ascends at a steady linear rate. That means with shift registers, I should be getting a horizontal line or close to it, right? For some reason, instead of a horizontal line, I instead get a zigzaging line that steadily ascends the amount its supposed to.
Sometimes, the count just zigzags up in down from 4 mill to 0 and back again for reasons I do not comprehend.
I'll upload my new .vi and my old .vi.
Screenshots too
http://imageshack.us/g/192/shiftregisterproblem.png/
01-06-2012 03:53 PM
Okay, I jut tried using both the Count or Events .VI(the one that worked with Shift Registers) with the bunch of vis in the newer vi. Unfortunately, the Count Events .vi refused to take the string from the Couter get attribute .vi.
Is there anything I can use to substitute for Shift registers? If I can get either get Shift Registers or a substitute to work, I'm pretty much golden.
01-06-2012 04:21 PM - edited 01-06-2012 04:23 PM
I don't think you actually have any problems with the shift registers. The fact you are getting a zero or a four just means that your count as either changed or not changed from one loop iteration to the next.
Where did you get the counter subVI's from? I suspect they problem is in them, but I can't look into them because you did not include them.
PS. Also, please attach your images to your message rather than putting them on a third party website. I don't trust those file upload sites. The files may not even remain there in the future if someone looks at this thread then. Plus many people are blocked from those websites by their IT department.
01-08-2012 10:55 PM
I found them in the examples folder. After using "Find Examples," I browsed by directory structure, selected the folder daq, and found the .vi I used under stc. This was one 8.2 btw. Although the .vis may not have been there originally, I doubt it, as my mentor did not know where to find them originally. As for showing the .vis right now, I can't do that as I don't have access to the computer right now. They were really complicated though if I recall, though. When I was troubleshooting, I looked at one and saw that said sub vi contained several Sub vis of its own. I would probably end up having to upload several .vis. I'll look for them though.
01-11-2012 01:44 PM
Ok, here are the pictures and one of the vis uploaded .
01-11-2012 01:44 PM
Other .vi.