LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Duty cycle value & user prompt

1. Duty cycle
The value input in the front panel works fine up to 34%, but then it fails for any value above 35%.
(for input value 35% and above, instrument shows 0.5% instead..for all values..)
How can I fix this to make it between 0-100%???
 
2. User Prompt for config file
Currently, config file will be loaded via "Load Config" case, but is it possible to kick this off when the main VI starts?
The idea is to force a user to load config file to synchronize between the instrument display and the LV front panel.
(when every time the program gets kicked off)
Does anyone have an idea how to do this?
Thanks,
 
 
0 Kudos
Message 1 of 8
(3,502 Views)
1. Duty cycle seems to be working fine with Internal trigger (set 0-100%), but not with externally triggered.
How can I fix this? (the subVI is attached)
 
2. I don't have any idea how to come up with prompt at the start up...
I would appreciate that if anyone could share your widsom and experience....
 
Thank you!
 
 
 
0 Kudos
Message 2 of 8
(3,480 Views)

I am still having a trouble with setting duty cycle value above 35%...

Tried to add timebase mode subVI in the application function VI, but the outcome is still the same.

Plz help on this...

 

0 Kudos
Message 3 of 8
(3,461 Views)
Hi jjlee,

With regards to your second question, you could have a single frame sequence structure before your application that requested the config file from the user. There are many different pop-ups or other things you could use (enabling and disabling controls). You could also create a sub-VI that pops would be called from the sequence structure you put before your main application.

As far as the first question goes, what results are you getting when you try to use this external triggering with a set duty cycle? Are you getting errors?

Regards,
Matt S.


LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 4 of 8
(3,462 Views)

HI Matt_S,

Thanks for your response!

1. Could you please explain how I can use a single frame sequence to prompt a user as soon as the main VI gets started?? Do I need to use 'stacked sequence structure' (?) where do I have place this particular sequence frame?

2. for ext trigger w/ duty cycle..I can set the duty cycle value up to 34%, but for values 35% and above...instrument shows 0.5% for all values...there is No Error message either from instrument front panel or the VI error out cluster. I can change duty cycle value manually when swtiched to local setting...so I suppose that it should work any duty cycle value between 0-100%....(I am confused how to approach this problem)

Best,

 

0 Kudos
Message 5 of 8
(3,453 Views)
Hi Jjlee,

It appears that a new thread has been opened regarding this in the Instrument Control forum.

http://forums.ni.com/ni/board/message?board.id=140&message.id=15771

That should be a better place for this question to be answered. I'll keep tracking this and try to find more information regarding your problem. If I find anything, I'll post it in the above forum.

Regards,
Matt S.


LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 6 of 8
(3,417 Views)

Thanks Matt_S.,

I started the new thread in the instrument control board...hope to find a better luck with answers...

I switched the order of concatenation of string in 'hp8133A_Ex-Div Timebase__mod.vi' and it works fine now.

I suppose that an order it passes different string value makes a difference(?)

 

0 Kudos
Message 7 of 8
(3,408 Views)
Hi jjlee,

I'm happy to hear that you've got this working. I'll just link to this forum post in the other so if other people have this problem they can find this solution too. Congrats on getting everything set up!

Regards,
Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 8 of 8
(3,400 Views)