09-06-2019 09:46 AM
I WANT TO CREAT VI FOR TESTING THIS STEP FOR PCB BOARD:
REPEAT STEPS 1 THRU 5 1000 times
Solved! Go to Solution.
09-06-2019 10:26 AM
@Harry12 wrote:
I WANT TO CREAT VI FOR TESTING THIS STEP FOR PCB BOARD:
No need to yell (all caps).
So it looks like you will need a relay and/or DIO to short the line and a DMM to measure the output. Do you have drivers for those yet? That would be the first step: get all of your IO working. Then it sounds like a simple FOR loop.
09-06-2019 10:27 AM
Thank you for letting us know you have a project with some defined goals.
What would you like us to do with this information?
Do you have a question?
Have you started programming and gotten stuck where something isn't working the way you want?
Is it safe to assume you have learned some LabVIEW either from a training course or doing some tutorials?
09-06-2019 10:36 AM
yes, I did connection for relay SC-2062 and DIO SCB-68. i m from the mechanical side that kind of I have problem with programming. I attached my vi please have a look.
thank you
09-06-2019 10:40 AM
@crossrulz please see my comments
09-06-2019 11:44 AM
Avoid local variables and stacked sequence structures. You can do everything with simple wires. From there, it is just a matter of sequencing your steps. I see you still need to figure out how to read the 24V. You have yet to state how how plan to measure that.
But this should get you close. You will really want to think about how to log the data and/or state how many times it passed/failed (hint: shift registers).
09-12-2019 10:20 AM
hello @crossrulz
i m done with the program but after putting shift register. i read 8V, it showed up in graph and stay same until next cycle. I want to drop that voltage to 0 once it read 8V.
i want to update the voltage reading always active not just update at some buried sequence
can you please help me with that.,
09-12-2019 10:43 AM
@Harry12 wrote:i want to update the voltage reading always active not just update at some buried sequence
Read in a parallel loop. Initialize and start the read task before the loop and don't stop and clear it until after the loop. Then just read inside.
09-12-2019 12:13 PM
@crossrulz
i don't get it I think, can you please edit my vi and send it to me, I attached in before message.
sorry and thank you for your help.