LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a SubVI in MatLab script?

Why can't you figure out how to attach the VI? You clearly are capable of attaching files, and the VI is just a file on disk.

 

I also find it quite suspicious that you have the LLB Manager open. You should not be using LLB files for your code. Use loose files, or better yet, a LabVIEW project.

0 Kudos
Message 11 of 14
(517 Views)

It's all saved (by the previous editor) as an LLB file, so the separate VIs aren't available in the folder... I'm not sure on the details of the LLB and how that stores the VI's, this was all I was given to work on! I'll try and extract the VI's out as separate files from the LLB and attach the VI to send - they must be stored underneath the LLB somehow I guess?

Dani

0 Kudos
Message 12 of 14
(512 Views)

Hi, sorry have had a manic day and only just got around to sit at my laptop! I discovered how to extract the entire VI structure out from the LLB, so can now send you the VI separately.

 

Any comments you have are greatly appreciated, and I can't thank you enough for your help on this!

 

Thanks,

Dani

0 Kudos
Message 13 of 14
(506 Views)

Two problems:

  1. "if" needs to be "If"
  2. "if Gasselection = 0" is performing an assignment, not a comparison. The correct syntax is "if something == somethingelse". 
0 Kudos
Message 14 of 14
(498 Views)