08-19-2010 11:07 AM
Ok guys/gals, quick question.... when creating a subVI... When I highlight a section of code that I want to create the sub from, if there are shift registers going in and coming out will those be pulled into the subVI or will they create inputs & outputs on my icon?
THX
C
08-19-2010 11:12 AM
@chuggins143 wrote:
Ok guys/gals, quick question.... when creating a subVI... When I highlight a section of code that I want to create the sub from, if there are shift registers going in and coming out will those be pulled into the subVI or will they create inputs & outputs on my icon?
THX
C
Sooner or latter you will know sooooo much about LV that asking us will not help. In that case you will have to do what the rest of us do and that is...
Backup all of your code.
Back it up again (in case you are unsure).
Then try it out for yourself.
In your case I think you will find that LV will create input and outputs for the wires.
Have fun!
Ben
08-19-2010 11:17 AM
@Ben wrote:
Sooner or latter you will know sooooo much about LV that asking us will not help. In that case you will have to do what the rest of us do and that is...
Backup all of your code.
Back it up again (in case you are unsure).
Then try it out for yourself.
Ben
On-The-Job training recomendation from Ben! ![]()
But valuable advice- Try it out- if it doesn't work go to the backup and try something else
08-19-2010 11:29 AM
Yeah, ok... I'm trying to cheat... ..er, no that's "using all reasources available"... not cheating!
I figure it'll blow up, but yeah... here goes nothing.
08-19-2010 11:39 AM
Ok... yeah, that didn't go as planned.
...on to plan B.
08-19-2010 11:40 AM
Don't save the changes unless that is what you wanted to have... Otherwise, there is no turning back.. Unless of course you have backed up (zipped, saved on another drive, etc) first.
08-19-2010 12:06 PM
Gotcha... I'm playing with a copy.
THX
C
08-19-2010 12:19 PM
It's always a good idea to backup development software on a regular basis (ie once a day) 😉
08-19-2010 12:27 PM
@Ray.R wrote:
It's always a good idea to backup development software on a regular basis (ie once a day) 😉
True, but it's an even better idea to use Source Code Control to handle your backups. (For a single developer, even setting up a local SVN with tortoise does wonders)
08-19-2010 12:28 PM
I've learned that lesson the hard way... I save several times a day, and each day gets a final save at the end of the day with it's own date code. The next time I work on a particular project I just rev up the date. Losing a few hours of work is not nearly as frustrating as several days of work! ![]()
C