I need help... What cell expression should I add to get JOB NUMBER and PART NUMBER?
Thank you!
Your Products have been synced, click here to refresh
I need help... What cell expression should I add to get JOB NUMBER and PART NUMBER?
Thank you!
Do you want to modify part name to be "Part Number" and Ser Number to be Job Number?
Yes
You can merge those cells horizontally and put this in a cell, and within your programs create assign statements that pull in data from an input type comment
= "Part Number: " + VARIABLE("V1")
= "Job Number: " + VARIABLE("V2")
You can merge those cells horizontally and put this in a cell, and within your programs create assign statements that pull in data from an input type comment
= "Part Number: " + VARIABLE("V1")
= "Job Number: " + VARIABLE("V2")
C1 =COMMENT/INPUT,NO,FULL SCREEN=NO, Please Edit Comment Text! C2 =COMMENT/INPUT,NO,FULL SCREEN=NO, Please Edit Comment Text! ASSIGN/V1=C1.INPUT ASSIGN/V2=C2.INPUT
I wanted to merge it, but I can't. Do you have an idea why?
Have to unmerge the one on the right first, as it's already merged by default
If you are having trouble with merging do this without merging. I only merged to have more space in case of long data strings.
="Part Number: " in first cell of top row
= VARIABLE("V1") in second cell of top row
= "Job Number: " in Serial Number cell
= VARIABLE("V2") in the cell to the right of Serial Number
Did you ever figure out what you wanted to do?
I don't have time to try it out yet, but when I find the time I'll let you know.
Thanks
No problem, I just wanted to make sure it was all working for you. Didn't want to leave you without a solution.
I did it. It is working!
Now I have to save it like SUB routine, right? so I can add this to every program.
This is new for me...I NEED HELP.
NEW IMAGE OF MY HEADER. Thank you WilliamL !
Yes, you can make it a subroutine. Or you can just remember to paste in these details before each program and use a more unique variable than "V1" incase you already are using them in other programs.
PARTNUM
JOBNUM
OPERATORNUM
Although I don't think PC-DMIS likes when you paste in assign statements.
C1 =COMMENT/INPUT,NO,FULL SCREEN=NO, Enter Part Number C2 =COMMENT/INPUT,NO,FULL SCREEN=NO, Enter Job Number C3 =COMMENT/INPUT,NO,FULL SCREEN=NO, Enter Operator ID Number ASSIGN/V1=C1.INPUT ASSIGN/V2=C2.INPUT ASSIGN/V3=C3.INPUT
I was messing with this more today, and we have part numbers that start with 0's. I converted the value to a string so it retains the 0's at the beginning of my number sequences. So you just add STR() around your variable statement.
= "Part Number: " + STR(VARIABLE("V1")) = "Job Number: " + STR(VARIABLE("V2")) = "Operator Number: " + STR(VARIABLE("V3"))
Anyone else who may stumble upon this, if you wish to use different variables just replace the V1, V2, and V3 variable names. They must be in quotes within the lambda expression
VARIABLE("PARTNUM")
VARIABLE("JOBNUM")
VARIABLE("OPNUM")
I know about this zero. and I did what you wrote now, but I messed something up and I have to start over... but thank you for every idea!
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |