LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Dump doesn't always work

Hi Cory,

 

So, it's like my app doesn't know that location exists until I go there in explorer and them come back to my app.  Why is that?

Did you read my answer here? (Talk with your IT department admin…)

 

Now, what the heck do I do with the snippet?

Use it to replace your overly complex own version of creating a file path…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 18
(1,398 Views)

My IT folks will not want to hear from me.  Is there anyway to perform a 'handshake' from within Labview?

Are you saying I just use the snippet pasted into my vi as a guide to replace what I have?  I was under the assumption it would become the new code in my vi.

Ron

0 Kudos
Message 12 of 18
(1,381 Views)

Hi Cory,

 

My IT folks will not want to hear from me. 

Why not?

 

Is there anyway to perform a 'handshake' from within Labview?

You may try to call SysExec with "cmd /c dir Y:\JobNumber" as argument. Let Windows initialize the network drive connection…

 

Are you saying I just use the snippet pasted into my vi as a guide to replace what I have?

The snippet is a replacement for your big ConcatString mess to generate a file path…
(You should be able to recognize what my code snippet does and to understand its operation by now.)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 18
(1,379 Views)

Ron, 

 

What happens when you try to build the file path using the method put forth by GerdW?

 

PahlM

0 Kudos
Message 14 of 18
(1,368 Views)

Willing to try SysExec, but don't know what it looks like in LabVIEW.  Nothing comes up in Help for SysExec.  Excuse my ignorance for not knowing this vi.  Never used it before.

 

0 Kudos
Message 15 of 18
(1,350 Views)

Hi Cory,

 

Nothing comes up in Help for SysExec

The function is called "System Exec". It is the first entry (for my LV2017) when you type "sys" in QuickDrop…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 18
(1,349 Views)

Found the System Executable command.  Will try it.  Thanks.

0 Kudos
Message 17 of 18
(1,343 Views)

Works!  Thank you!  Now on to my saving data loop.  I decided to go with a log timer that approximates the rpm curve on a motor run down.  I really don't have a limit on the number of points saved, since they are only points, not large data arrays.

Thank you for all of your help!

0 Kudos
Message 18 of 18
(1,340 Views)