LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How I can delete the interruption in my VI to control My Signal Generator

Hi, I have done the VI, but, when I run it, before setting my Signal Generator, appear a Strange Window: Utility Default Instrument Setup and appeare a Red Break Point (see the Figure) that stop the execution of my VI.
I understand that I must do CLEAR BREAKPOINT, but I don't want to do this every times. I want delete this stop.

 

11.JPG

 

I ask:

1) It's an error? It's an error in my program? (see the Figure: number 1)

2) It's a setting of person who had done a VI "Default Instrument setup"?

3) The program run in this way: I click run, after compare a Front Panel (showed in the Figure) and I must click on the bottom indicate with number 2. I want eliminate this step. I want that my instrument is setted automatically.

4) In the Figure (number 3) there is VISA SESSION: the first Number is the address of instrument, but... the second??? I think a number of session, but I have run the program many times, but not always this number increases.

5) It's important for the person see the Visa Session or it's only a local variable that star and finish at the end of run of the VI in which there is?

6)When I put a control in my Front Panel it's appear white. See the figure. Instead the controll appears grey. Why in the VI of Instruments Driver there is a Grey Control? It's seems like a controll and indicator at many time. Why? What is the difference?

 

12.JPG

Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 1 of 26
(4,474 Views)
With the VI in EDIT mode.  Right-click the wire with the breakpoint and select Breakpoint>Clear Breakpoint then resave the vi.  If you save a vi with a breakpoint in it the breakpoint gets saved too!  This can be especially troubling for users if the developer fogets to remove breakpoints when they release a build.

"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 26
(4,469 Views)
Thanks, and for the other questions?
Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 3 of 26
(4,454 Views)

Jeff Bohrer absolutely NO. I have done what u wrote, but the problem is other!!! I have cleared breakpoint and i have SAVED. Now Break Point isn't present, but the execution is stopped and compare this window:

 

13.JPG

 

 

 

I must click on the strange arrow to the left top. And the VI continue. Why? 

Maybe the problem is in the sintax: "\n*CLS\n?

Where I must to learn this sintax? So I can use directly the VI of VISA?

My Signal generator is  Rohde & Schwarz SMIQ 02B. Can u tell me in which part of manual I can find this command? 

Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 4 of 26
(4,440 Views)

Jeff Bohrer absolutely NO. I have done what u wrote, but the problem is other!!! I have cleared breakpoint and i have SAVED. Now Break Point isn't present, but the execution is stopped and compare this window:

 

13.JPG

 

 

 

I must click on the strange arrow to the left top. And the VI continue. Why? 

Maybe the problem is in the sintax: "\n*CLS\n?

Where I must to learn this sintax? So I can use directly the VI of VISA?

My Signal generator is  Rohde & Schwarz SMIQ 02B. Can u tell me in which part of manual I can find this command? 

Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 5 of 26
(4,440 Views)

he vanny,

 

please note: it is *mandatory* to use the SMIQ Initialize.vi for open up a session to your instrument. Otherwise the driver is not initialized in a correct way and can fail or behave in a strange way! Please do not use the VISA open session VI. (The driver is using this VI "inside").

 

so long juergen

 

 

0 Kudos
Message 6 of 26
(4,428 Views)

You've got the breakpoint cleared and now your only problem is that you have the VI in 'Pause' mode. Click the red pause button (||) and change it to black. Now, when you click on the run button, the VI will execute all of the way through.

 

*CLS is a IEEE-488.2 common command that clears the event register.

0 Kudos
Message 7 of 26
(4,425 Views)

juergenstraub i don't understand your message... can u use easy english? Where I fall in error? What is mandatory? I use a VI of Instrument driver of My Signal Generator to initialize it. Can u esplain?

 

 

Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 8 of 26
(4,414 Views)

Vanny,

 

Your vi is paused.  what version ap LabVIEW are you using?

 

With LV 6.1 and previous a sub-vi could be set to suspend when a control value was out of range.

 

With all versions a vi execution properties may be set to "suspend when opened"

SWO.PNG

 

Or you may have more breakpoints.youcan search for all breakpoints from the heirarchy window

(and if I recall correctly- LabVIEW 7.0 had a bug "phantom breakpoints" that would not clear a BP that had previously been saved in a library until the library was resaved and LabVIEW restarted)

BP.PNG

 

As for the rest.

>The breakpoint is never a "bug" or an "Error" it is a DEBUG feature that should be turned off after development is complete. The developer missed a step.

>GIPB0:28 9.  The 9 tells you that multiple VISA sessions are open to the address.  These sessions should be cleared set the option

ACVS.PNG

 

> Important for the user to see the VISA session...... no but when developing a new project using the driver the developer needs to see it.  since drivers are sub.vis the front panels are usually not displayed to the operator.

 

> why grey control background... The developer missed a style guide point in their effort.  It doesn't change how the vi operates.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 26
(4,409 Views)

Dennis Knutson can u respond to other question in my first post?

 

IMPORTANT: Now I can assign to my instrument a frequency and amplitude. But after assignment the program go off. and I can put other value and run the program again. But If I desire that my program is run always so I can change in real time the values... how can do it?

Thanks,
Vanny

)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(-_-)(

Sweet, Beautiful and Young Female Physicist (SBYFP)
(I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy;) )
My e-mail for personal contact: vanessaricciardi@live.it_NO_SPAM_PLEASE
0 Kudos
Message 10 of 26
(4,408 Views)