取消
显示结果 
搜索替代 
您的意思是: 

LabView 2009 with HP4145B

18923iFB503586C770023A

0 项奖励
11 条消息(共 37 条)
2,252 次查看

18927i688CEBD8047546E1

0 项奖励
12 条消息(共 37 条)
2,251 次查看

Here is my VI

下载全部
0 项奖励
13 条消息(共 37 条)
2,225 次查看

Sorry, question 1 makes no sense. Until you click the run button, none of the code executes. You can obviously make as many changes to front panel controls as you want until you decide to run with what is displayed.

 

Not familiar with the instrument so I have no idea what query will return the voltages (x axis). If it's a sweep you define, then you can build the array yourself from the sweep parameters (i.e. start, stop, increment). This is a basic task.

0 项奖励
14 条消息(共 37 条)
2,215 次查看

For the first question. I was wondering weather I could run the VI but then input the parameters and press a further button on the VI to start the instrument.

 

For the second question I think I'm going to have to do what you are saying. Thanks though

0 项奖励
15 条消息(共 37 条)
2,207 次查看

Yes, you can start a VI, modify some parameters, and then start. A common approach is to use an event structure.

0 项奖励
16 条消息(共 37 条)
2,217 次查看

Can you tell me what is wrong with this? Why is type not blue, how do I make it blue? Is this the best way to do what I want?

0 项奖励
17 条消息(共 37 条)
2,189 次查看

Hi Pazmush,

 

you make it blue (enable it) by selecting some real events for your event structure. You have to "Edit events handled by this case..."!

 

Why do you use string controls for numerical values?

Why don't you use a cluster for all the setup values?

I doubt the VI will give desired results with all those "default if unwired" tunnels...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
18 条消息(共 37 条)
2,187 次查看

To programme my instrument I need to send strings, I think.

I've not used clusters before.

 

And thanks for the help, i've nearly got it down now.

0 项奖励
19 条消息(共 37 条)
2,178 次查看

Right, I've done some stuff, but can you/anyone tell me why my voltage gets wiped out when I press the acquire button? How do I stop this from happening?

 

Thanks

0 项奖励
20 条消息(共 37 条)
2,172 次查看