Open and close multisim contact with LabVIEW
Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)?
Thanks.
Attachments:
Dibujo.JPG 13 KB
Hi Guddan,
I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
If this needs to be a synchronous call, then you will need to optimize the query to its best.
Regards,
Chen
Similar Messages
-
I must communicate with my instrument, but I must change its value, for example temperature, every loop. See the Figure to understand:
I think that it is better if I open communication with my instrument out of while loop so I many operation: if I put Open VISA in While loop I open VISA session every loop, instead I think it is not intelligent. Can I open VISA SESSION out of the while loop or it is an error for EXCELLENT LABVIEW VI and I must open and close VISA SESSION every times I must talk (and set) with instrument? What is the better way?
Message Edited by Michelle1892773 on 02-22-2010 02:00 PMSomething like this?
I do have to say, i don't know what is happening in the false case of yours, but if nothing happens with the 100 that is wired to the shift register, once you enter the true case, the value in the shift register will always be great than "i". You might as well do what I have done then. However, if something does happen with that number in your false case, then keep it the way you have it.
That being said, why is the condition there to see if it has looped 100 times before doing the visa write??
Message Edited by for(imstuck) on 02-22-2010 04:45 PM
Message Edited by for(imstuck) on 02-22-2010 04:46 PM
CLA, LabVIEW Versions 2010-2013
Attachments:
visa.PNG 13 KB -
Track pad pinch open and close not working with Firefox 4
the pinch open and close feature to adjust size on my Mac track pad does not work
Some mouse gestures have been removed in Firefox 4.
You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
browser.gesture.pinch.in cmd_fullZoomReduce
browser.gesture.pinch.in.shift cmd_fullZoomReset
browser.gesture.pinch.out cmd_fullZoomEnlarge
browser.gesture.pinch.out.shift cmd_fullZoomReset
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
* http://kb.mozillazine.org/about%3Aconfig -
Motion 4: open and close a group with key shortcut?
Mo4: Layers window: any shortcut to twirl down (and/or up) all the layers in a group? Or layers in layers? The manual says arrow keys move from group to group,layer to layer and that works... also says that L & R keys open and close selected group/layer, my LR arrow keys don't do anything...
Thanks, JohnNo, actually you do not - you need to click the helpful or solved buttons over their post in order to give them credit.
And what you do by assigning a helpful or solved (helpful is 5 points, solved is 10) is to build their reputation here. Not a bad thing to do for those who help you...
Patrick -
Open and close RFC connection with portals...
Hi Experts,
I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
Please advice is it possible to achieve this. If yes, then how.
Regards,
GuddanHi Guddan,
I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
If this needs to be a synchronous call, then you will need to optimize the query to its best.
Regards,
Chen -
How do I open and close vis programmatically?
I want to open and close a vi with a switch control. What is the best way to do this?
Probably the easiest way is to utilize vi server operations. Vi server will allow you to open a vi and close a vi programmatically. This is a great example that is built into LV. THis should give you some ideas. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor
Attachments:
VI_Server_-_Changing_Another_VI's_Properties.llb 625 KB -
Pages 09 document; open and close many times; right way with Lion?
I have a 106 page document that increases in size on a daily basis. With OS 10.7, iWork/Pages 09 on my new, iMac, it's common that I lose as much as two sentences after the document is closed and re opened. After 10.7 was installed the document was closed using Command - S, and subsequently closed by pulling down File and selecting Close. - Not the way to close; the red button was so easy with 10.6. IS UNINSTALLING LION THE BEST SOLUTION?
And yes, I've read the sorry jibberish in the Pages 09 manual - which doesn't say how to open and close repeatedly a document with Pages 09.
So, with the Lion - the worst ever of spending $30, is it necessary to do a Command S every time you close? And what exactly is necessary each time you close a document using Pages 09 and Lion? - And about Auto Save; well, what about Auto Save? - The Lion means well for something other than common, understandable, text production. -- How about a separate application of Appleworks for text producers like me?The red button is always available under 10.7 (or 10.7.1)
Under 10.7, press cmd + S once when you create the document.
After that, the system automatically save your changes.
No need for cmd + S.
To close the document we may use :
the red button
cmd + W
File > Close
as it was with older systems.
monte45 wrote:
And yes, I've read the sorry jibberish in the Pages 09 manual - which doesn't say how to open and close repeatedly a document with Pages 09.
The User Guide is perfectly clear and precise :
Yvan KOENIG (VALLAURIS, France) jeudi 22 septembre 2011 19:21:52
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
Hello I have a problem with Mac Pro, iPhoto does not want to stay open and close as I can figure this out? thanks
Refer below link once
App doesn’t open | Progress wheel spins continually -
I am have problems with the ipad mini, it is a little crazy. It controls by itself, opens and closes application zooms in and out, end my facetime calls, Also Un certain part of the screen is no longer responsive to the touch, it Should be having so much problems. Thanks for your help.
iPad, iOS 7.0.4Try reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
i want to activate my iphone 5 i buy it from my friend and when i back to my country he close it from find my iphon and i cant contact with him what i can do ????
Use it as a paperweight unlesss you can get hold of him. Doesn't sound like much of a "friend" to me.
Apple can't/won't help you. -
Trackpad playing up and windows open and close with out me doing any thing
Hey since updating to OS X Mountain Lion 10.8.5
my Mac has been playing up. I can't really control the mouse anymore
it basically goes where it wants to go. Also my Mac started to open and close Windows on its one,
switching back and forth between sides, as well as opening mission control and other things.
It is impossible for me to use my Mac at the moment :
Would be grateful for any tips on how to fix it !!!
ThanxTry the troubleshooting help here > Portables and Magic Trackpad: Jumpy or erratic trackpad operation
-
Report OPEN and CLOSE in computers client
Post Author: B.prata
CA Forum: Crystal Reports
I have an application developedin Visual Basic with report in the CR 4.6, but in the computers customers when I will access the application,I try to emit a report , it opens and close the report. What can be?There is no FaceTime app for the iPhone if that's what you're asking. FaceTime is accessible through your Contacts as one of the options in how to contact a person -- there is no standalone FaceTime app for iPhone.
If you mean how to disable FaceTime, you can do that in Restrictions (Settings/General/Restrictions). -
Open and Close Front Panel of SubVI
Hi all,
Running LabVIEW 2011 on Windows 7 x64. I am trying to get a subVI front panel to open from my main FP with the press of a button and then close with a button press in the subVI. Here is the piece from my main FP that calls the VI and opens the FP
Plots is defined in another loop and all of the loops are in a flat sequence. I did it this way because I want it to start with the first press and not stop my main loop from running. I have moved the item in the left loop around a lot so I'm not sure if I can run that in the same loop as the event or not. Either way opening the VI seems to work fine.
The problem shows up when trying to close the subVI for the SECOND time. The code is here:
As I said, the first time I open and close the VI everything works as I expect it should. I am then able to open it again but now the "blank button" doesn't function and I can't close the window or even open the block diagram to probe anything. I have been trying to figure this out for awhile, any insite would be greatly appreciated!
Thanks
Solved!
Go to Solution.Its good that you found the bug.
This code may serve as a way for you to compare notes.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Open and close posting period authorization control TCODE: S_ALR_87003642
HI All,
Is there any chance to control the user to open and close another company code posting period variant in TCODE: S_ALR_87003642.
In our system we are using the same client for different countries. So user can able to change the other country company code posting periods.
We would like to control either on the country (or) organizational unit(company code) (or) posting period variant so that user can only open/close their country / company code posting periods.
Our present authorization role for open and close posting period contain the auth.Obj. : S_TABU_DIS.
Please share your knowledge if you come across this problem..
Thanks in advance..Hey Sandhya,
Congratz, this can be done using linbe item authorization with the object S_TABU_LIN.
Field ORG_CRIT - Value 02
Field ORG_FIeld1 - Value ZT001B
We have successfully done it in our client.
You need to contact your BASIS consultant for this.
Thanks,
Nitish -
Visa Open and Close on every iteration of loop
I have noticed that when you open the front panel of the Instrument I/O Assistant, the diagram starts with a visa session open, sets timeout property, writes, reads, parses data and ends with a visa session closed. If I were to place this into a while loop the visa session would open and close on each iteration of the loop.
Is it common practice to open and close the visa session on each iteration?No you would not want to open and close that often. If you want to use the Instrument I/O assistant what I would do is configure it the way you want and then save it under another name so you can open the block diagram. Pull the VISA open and close outside of your loop.
Using LabVIEW 2010SP1 and TestStand 4.5
Maybe you are looking for
-
Report using reuse_alv_block and reuse_alv_hiersql_list
Dear all, I have a report were in i need to display two reports for branch wise report and for sales employee wise report.The report is accepted for branchwise were i'm using reuse_alv_hiersal_list_display FM.And as per the business scenario i was fo
-
I broke my ipod and then got a new one. is there anyway to get back all my music and apps? i only backed up 3 songs on my computer itunes.
-
New lines created in excel when displaying multi-line text item value
Hi all, I put the value of a multi-line text-item into a csv file : DECLARE file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/'; fExp VARCHAR2(256); in_file Text_IO.File_Type; linebuf VARCHAR2(4000); BEGIN fExp := get_file_
-
Generating SOAP Envelope when DO NOT USE ENVELOPE option is marked
My scenario: SPROXY => XI => 3rdParty WebService. Communication is synchronous. I've a problem with soap envelope. It is required by webservice, but when I use standard soap envelope generated by SAP I've a problem with receiving response from webser
-
hello I am doing some tests in WebDynpro and CAF Core services. I have a piece of code as below that retrieves an entity from CAF Core for update. I need this entity to be locked during the update but the two methods lock() and unlock() do nothing. I