How to run 2 same webcam models in labview.
hello everyone,
i was wondering that how can i run 2 same webcam models at the same time. Well i have been able to run 2 different webcam models at the sametime in the same VI but it gets confused when i try to use the same models. It takes the images from the same camera even when i try to display the other camera. I used a VI that gives the hardware ID of the interfaced cameras as same webcam models will have different Hardware ID. But still it gets confused. Is there any one who is working or who had worked on the same lines. Please help me . Is there any other library that can be useful or any other software interfaced with labview. I would like to keep the option of modifying the current webcam library as the last option.
Thanking you.
Royal Tiger.
This is a known issue with the driver that occurs when two of the same type of camera exist on the system. Because the driver uses serial number information stored on the camera to distinguish between cameras, cameras of the same type will appear to be identical to the driver. Also, because the USB driver is not supported and provided for free in an "as is" state, there are no current work arounds for this issue, and no development at this time on a bug fix.
S. Arves S.
National Instruments
Applications Engineer
Similar Messages
-
How to run the same report at report runtime?
i have this report that is automatically run when choosing the icon at reports runtime.
its it possible that i can run the same report without having to exit the runtime?! can i display the run button on the toolbar?
i need help on this! thanksWhat
about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?
Yes thats a much better option. Its very easy to generate such a report in SSRS. You dont need a parameter
in that case but just needs to add Supplier as a grouping field in the tablix. Then add other columns and groups if required. Select option set page break after each instance of the group for first grouping (ie based on supplier field). Then report will render
with one page per supplier. On exporting to excel also each supplier data goes to a different tab
Here's a similar requirement I did for one of my projects
http://visakhm.blogspot.in/2013/10/using-ssrs-to-export-sqlserver-data-to.html
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to run the same procedure in parallel for different parameter value.
Hi There,
I am currently working on extracting data in to flat file and I am able to do so for one revenue month (e.g. 200101) using PL/SQL procedure(get_rev_data). it takes almost 1 hour to execute the procedure completely and it generates 400 MB data file. Now I have to run this procedure for last 10 yrs of data (i.e. 120 revenue months) . my prolem here is to figure out a way/logic in such a way that I can run the procedure in parallel for each revenue month and at the same time it will write the data in respective data file for each revenue month. so the final result of this exercise would be 120 flat files, one for each revenue month with file names like
EXTRACT_00001001 to EXTRACT_00001120.
where
first five digits : 00001 will indicate the Extract run number and
last three digits : 001 will indicate the thread number for each run.
I am thinking of doing this by creating a table "RevMonth" with two values (revenue_month, thread_num) and calling the procedure in a simple select statement and passing revenue_month as parameter of the procedure like
SELECT get_rev_data(revenue_month, thread_num)
FROM REVMONTH;
But I am not sure if that will do the needful. Any idea on how to achieve this will be of great help. Thank you.Hi Smit,
Thanks for the advise. I am not planning to run for all 120 months at once. actually I am planning to run like 1 year (12 revenue months at a time). I am not sure if that will work well but I was planning to run this through shell script (Unix) and will call the same procedure with different parameter (revenue_month and Thread_number) values and see what happens. I hope that will run in parallel for each revenue month.
Let me know if you have more knowledge about it. THanks a lot.
Thanks,
. -
say i have the MIMO model of a system in transfer function as
4s + 4 0
10s+1
= G(s)
0 3s + 3
10s+1
this model has direct feedthrough. how do i run simulations of to say, a 2 step inputs?
I don't get any output signals. please, see attached VI file.
thank you.
Attachments:
Q1 test.vi 56 KBHi tomcruize79
Thanks for using the forums! Sorry for the delay in getting back to you - how have you been getting on with this?
One thing to note is that you can use the Signal Generator VI to generate a function as an input. Try this with your model and let me know how you get on.
Regards,
Peter D -
How to run the same license on two computers?
Hello,
I have searched around a bit for answers to my questions without luck so far.
I have used Adobe Lightroom 3 & 4 on my computer for years. Now I have purchased a laptop computer as well. I am the only user of both computers. As I understand the end user license agreement, I am allowed to use the same license on both of my computers.
Is this straightforward? Do I just install LightRoom 4 with the serial number from the purchase? LR4 was an upgrade from LR3. Do I need to install LR3 first, or just use both serial numbers?
I will also like to upgrade my standalone computer from Windows 7 to Windows 8. I have actualle tried the upgrade process, and was told it failed, and that I need to do a complete (fresh) installation of Windows 8 (after formatting the computers disk).
Will I be able to do this? My preferred "end result" is running LR4 on both computers with Windows 8, although a fresh installation of Windows 8 on the standalone computer.
I am also considering purchasing Adobe Acrobat. Will I be able to run that as well on both computers?
What if I replace the standalone with a new computer one day - will I be able to move the license from the "old" one?
I would appreciate an answer to this post.
Best Regards,
Svein A. MartinsenAs you already indicated your awareness, you are allowed to install and activate Adobe software on two machines. You should only need to install and then activate. If you have the discs, then go that way. I f you do not have discs, download the version(s) and use your serial number from your original purchase to activate.
As far as changing from Windows 7 to Windows 8 goes, that's generally beyond the calling of folks here. I personally would not upgrade an OS, having done it once in the past and regretting it every day after that - I now prefer to live with what came with the machine. You might find older software is not compatible with Windows 8 and there is nothing anyone here can do to change that. -
Hi,
I have an SSRS report that produces a list of invoices for a single supplier (so supplier is a parameter specified at runtime). The report is based on a stored procedure in SQL. I would like to make things easier and instead of going through all suppliers
one by one, I want to have a single action, which produces separate reports, per supplier, for all suppliers that have an outstanding invoice (so not all suppliers on the system as a whole but all suppliers that are within the result set of the stored procedure).
I assume this would mean first executing the stored procedure to find all suppliers that have invoices at the time. And then running the report multiple times, once for each supplier, where the supplier value is used as the parameter every time. ideally
this would open separate webpages with a single report per page. (I am creating a button in another software, which is simply launching iexplore.exe and passing a
fixed SSRS report URL).
What would be required? I have SQL 2012 and I am building this in Report Builder 3.0.
Thank you!
Dimitar
P.S. What about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?What
about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?
Yes thats a much better option. Its very easy to generate such a report in SSRS. You dont need a parameter
in that case but just needs to add Supplier as a grouping field in the tablix. Then add other columns and groups if required. Select option set page break after each instance of the group for first grouping (ie based on supplier field). Then report will render
with one page per supplier. On exporting to excel also each supplier data goes to a different tab
Here's a similar requirement I did for one of my projects
http://visakhm.blogspot.in/2013/10/using-ssrs-to-export-sqlserver-data-to.html
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to run the same instance of oracle 10g on another computer
hello everyone sorry for my ignorance. I have downloaded oracle 10g express edition on 2 computers however when i login using sql developer i get two different instances of oracle databases. What file do i need to change on one of the computers so that when i log in through sql developer im always on the same database. Is there are tns.ora file that i need to make the same on my other machine? Any help would be appreciated.
user633029 wrote:
I have downloaded oracle 10g express edition on 2 computers however when i login using sql developer i get two different instances of oracle databases. What file do i need to change on one of the computers so that when i log in through sql developer im always on the same database.Hi!
I'm not sure does I understand your requirement good?
But if so:
You have 2 computers and from both you want to access one single Oracle database.
If this correct then you need only on one machine to install XE Server and on another machine ONLY XE Client.
After that you need to copy tnsnames.ora file from computer where XE server resides to according directory where XE client resides.
HTH -
How to Run teststand sequence file using the LabVIEW
Hi
I want the execute the Teststand Sequence file using the LabVIEW .Net containers.I didnt find out the Execution Parameter in the .Net Container.Do you any suggestion regarding this question.Please let me know.
JayavelTestStand comes with loads of Operator Interface examples some simple, some full fledged. You can find it in teststand public folder win7 path here:C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\UserInterfaces
You can take these examples or use ideas from here, also read the teststand reference manual. It has a section about Operator Interfaces.
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
How to run two query in the same preparedStatement
Hi all,
Please tell me how to run two queries in the same preparedStatement object ?
In my module I have to run two queries and I don't want to make two methods for running two different queries.
I just want to call this method for both of my queries.
methodName(long param)
Connection conn=null;
PreparedStatement pstmt=null;
//////////////// some coding
Please Help !
Thanks in advance
amitindiapublic void foo()
Connection connection = null;
PreparedStatement stmt = null;
try {
connection = ...get from pool...;
stmt = connection.prepareStatement("...");
...fetch results...;
stmt.close();
stmt = null; // So the finally statement works if there is an exception
stmt = connection.prepareStatement("...");
...fetch results...;
} finally {
if (stmt != null) ..close it...;
if (connection != null) ..return it to pool...;
} -
How to call a custom transaction in retailstore which runs in same session?
Hey guys,
hope you can give me some hints. OK, i have a resultlist and it should be possible to call a SAPGui transaction via webgui service. This works fine but the link which i created has no info about the current session ID. I build an URL with the function modul ITS_GET_URL and concatenate it with the neccessary transaction code and parameter. Then i call this URL by function ITS_BROWSER_WINDOW_OPEN. A new browser window is opened with the right transaction in webgui. But if i hit the button back, i get the message, i was succesfully logged off. This wasn't the result which i want.
What i want is to call the transaction via webgui and this transaction should run in same window and in same session. Any idea how to do that?
I know i need to build an URL with a valid session ID for the transaction, but how can i do that?
thx,
Wei-MingHello Sal.
This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
You might try window.open("http://xxx...me23n","_self").
Best regards,
Frank. -
How do I run the same process on multiple CPUs of a processor set?
Hi,
I am working on UltraSPARC T1 Processor. My development environment is SunStudio 12 running on Sun Solaris 10 OS.
I want to run the same process concurrently on 4 hardware threads that belong to one core.
I used pset_create() for creation of the processor set.
Later I assigned 4 processors (that belong to one core) using pset_assign().
I used fork() to create a child process and used execv() to assign a new process.
I used pset_bind() to bind this new process to processor set created earlier.
When we are executing the program we observe that the process is running in only the first processor (hardware thread) of the assigned processor set.
How do we make all the processors of the processor set run the same process?
Thanks in advance.
Nesa RaniHi Mark,
With this communication based on CAN whilst all of the data is available on the network arbitration IDs are still used to address the individual PCs so I believe you will need to explicitly send the data to each PC to get the data across all three. The other option would be to have one PC acting as a data server making the data available through a network interface such as shared variables. This may be simpler to implement and also easier should you need to scale it up.
Regards,
James Mc
========
CLA and cRIO Fanatic
wiresmithtech.com/blog -
How to remove one sap Instance where 2 instance running in same server
How to remove one sap BW Instance from server where 2 instance running in same server.
We have 2 BW Instances ( QW1 and CW1) running in the same physical server (windows 2003 + MSSQL). Now we want remove one Instance from the server completly. Could any one give steps or procudure which we should follow to remove one instance without disturbing another one. Both instances are Central Instances.
SAP System component version: SAP NetWeaver 2004s (2007)
Please help me in this...let me know if you need any more inforamtion.
Thanks in advance.
SridharHi Sridhar,
You can definitely remove an instance completey. When you select uninstall option using sapinst, it will give you a list of running instances on the node using profile files.
You can select which one to uninstall.
Best Regards
RAGHU -
How to run a SQL manually with the same SQL_ID
I want to know how to run a SQL which comes from application side manually so that same SQL_ID is generated. I am aware that even if there is a small change in the sql(even a space) the sql_id gets changed. CURSOR_SHARING_PARAMETER is similar in my DB.
Thanks
RudreshI think you really want is the execution plan (plan_hash_value), what about outlines ?
HTH
Antonio NAVARRO -
I have an iphone 3gs, iTunes says my software version (4.2.1) is upto date, how to I get it to upgrade the version?
I have a friend with the same make/model who is on version 5...Doesn't sound like you have a 3GS, but rather an iPhone 3. Settings>General>About>Model...what does it say?
-
How to continue the running process behind the model dialogue box options ?
How to continue the running process behind the model dialogue box options like this
In Updation of K7 user press the Cancel Button
New dialogue box appear with Yes/No options.
But the backend updation is going on... not Pause the updation.
Like this how to do ?
Please provide me code.I don't know, if you mean you have done your form or you have solved the problem.
It's visible your code is only partly reflecting your screenshot, and that's okay to demonstrate the problem you have given a fine example.
As you marked my suggestion as solution this may not be needed anymore, but here's how I modified your code and used a self made QuestionBox instead of messagebox.
The essential part is defining a callback method and letting the QuestionBox call back there. It's not essential I used RAISEEVENT, but it's fine as it has all the behaviour and parameters needed to call back.
Public oTestFrm
oTestFrm=Createobject("MyForm_Model_to_NonModel")
oTestFrm.Show
Define Class MyForm_Model_to_NonModel As Form
onxx = 0
Add Object lbl_DispValue As Label With Top=90, Left = 120, Width = 50, Height=30, Caption=''
Add Object cmd_Start As CommandButton With Top=120, Left = 120, Width = 50, Height=30, Caption='Start'
Add Object cmd_Stop As CommandButton With Top=120, Left = 190, Width = 50, Height=30, Caption='Stop', Enabled =.F.
Procedure cmd_Start.Click
This.Enabled =.F.
Thisform.cmd_Stop.Enabled =.T.
Thisform.onxx = 0
Do While Thisform.onxx < 90000000
DoEvents
Thisform.onxx = Thisform.onxx +1
Thisform.lbl_DispValue.Caption = Transform(Thisform.onxx)
Enddo
This.Enabled =.T.
Thisform.cmd_Stop.Enabled =.F.
Thisform.lbl_DispValue.Caption = ''
Procedure cmd_Stop.Click
* Here, I want NO PAUSE -- (Show running numbers continuously...)
* how to control Model to NonModel in Messagebox.
QuestionBox('Really stop the process', Thisform, 'handleanswer')
Endproc
Procedure handleanswer
Lparameters tlYes
If tlYes && means Stop
Thisform.onxx = 99999999999999999
Endif
Endproc
Enddefine
Procedure QuestionBox()
Lparameters tcMessage, toCaller, tcCallback
If Not Pemstatus(_Screen,"oForms",5)
_Screen.AddObject("oForms","Collection")
Endif
oMsgBox = Createobject("QuestionBoxForm", tcMessage, toCaller, tcCallback)
_Screen.oForms.Add(oMsgBox)
oMsgBox.Show(2)
Endproc
Define Class QuestionBoxForm As Form
Autocenter = .T.
AlwaysonTop = .T.
Minwidth = 200
Add Object label1 As Label With AutoSize=.T., WordWrap =.T.
Add Object cmdYes As CommandButton With Caption = "Yes", Width=40
Add Object cmdNo As CommandButton With Caption = "No", Width=40
Procedure Init()
Lparameters tcQuestion, toCaller, tcCallback
Thisform.label1.Caption = tcQuestion+" ?"
This.AddProperty("oCaller",toCaller)
This.AddProperty("cCallback",tcCallback)
This.Width = Max(This.Minwidth, Thisform.label1.Width)
Thisform.label1.Left = (This.Width-Thisform.label1.Width)/2
This.Height = Thisform.label1.Height+48
This.cmdYes.Left = This.Width/2 - 10 - This.cmdYes.Width
This.cmdNo.Left = This.Width/2 + 10
This.cmdYes.top = Thisform.label1.Height+24
This.cmdNo.top = This.cmdYes.top
Endproc
Procedure cmdYes.Click
#Define clYes .T.
Raiseevent(Thisform.oCaller,Thisform.cCallback,clYes)
Thisform.Release()
Endproc
Procedure cmdNo.Click
#Define clNo .F.
Raiseevent(Thisform.oCaller,Thisform.cCallback,clNo)
Thisform.Release()
Endproc
Enddefine
I didn't yet introduced a timer for counter display updates. As you see the counter hangs a bit, if you mouse over your form, but it is a way of multithreading without using a separate thread and instead keep the rest of the application active by DOEVENTS
in the long running loop code.
Bye, Olaf.
Olaf Doschke - TMN Systemberatung GmbH http://www.tmn-systemberatung.de
Maybe you are looking for
-
Corporate connectivity not working for some users
Hi, I'm having an issue that started about a month ago but is getting worse. A select group of users are no longer able to connect using DirectAccess, even though these users have been using their computers for a few months without issue. BACKGROUND
-
How do I SYNC my iTunes library between 2 Mac's?
Hi all, I have a MacPro tower with iTunes set up and all is well with it. Now I just bought a MacBook Pro, and I would like to sync part of my iTunes library from my tower over to my MacBook Pro. I only need music though, with specific playlists an
-
Touch is not working even install the drives for windows 8.1 pro for HP 15r 249 tu
Hi, I have pitched note book from HP, the model is HP r15- 249 tu,I have installed windows 8.1 pro , downloaded touch drives from HP support and installed successfully but the touch is not working , and all drives are working fine but touch drives ar
-
Run time error occuring due to the exception "CX_SY_CONVERSION_OVERFLOW",
hi, Programme which is present in process chain,is getting the error the exception "CX_SY_CONVERSION_OVERFLOW",like this. Can any body please help me out on this. Thanks & Regards, Aswini.
-
One step Playlist creation on import
I am a classical music person. I recently bought the 155 CD collection of Bach's collected works. I am in the process of loading the 155 CD's into iTunes. Is there a way to create an "instant playlist" of each CD. The CD's are organised into differen