Time loop problem when add a parellel subvi in another time loop
I have four time loops in parellel, they work find
without any problem. However when I add a third party
Vi as a subvi in parellel inside a another time loop.
The first four time loops start working eraticly.
Is there any way I can make them work independently
time wise. There is no data transfering between any
of the loops
Hello
The VI with the timing loop is set to cycle once every second, and all it does
Is turn on a boolean light indicator off and on every second. It has a boolean
inverter connected to the shift registers of the loop. Its priority is set to Normal.
The third party VI interacts with a spectrometer hardware. The spectrometer measures
The amount of light and transform the data collected by the spectrometer into digital information, which is then passes to LabView. LabView then compares the sample information to a reference measurement and displays the processed spectral information.
The timing loops of the main VI is manually set by me the user.
The timing loops would loose its sequence; the loops would run normal for a couple
Of cycle the
n either run fast or run slow. If I take out the third party subvi everything
Runs fine
I am using windows XP with LabView 7.1
Attachments:
Dr_Grady_Solinoid_HM_3.vi 129 KB
USB2000_SUBVI.vi 238 KB
Similar Messages
-
I have just bought iphone 5 and i have a problem in charging it , firstly it took a long time to charge when i opened it to the first time , and its nearly dont charge on 110 output, and its taking a long time to charge on 220 reaches 50% in 1 hour is this normal?
The charger block is universal and is able to handle multiple votages. One hour to reach 50% seems fine to me if the phone was completely flat to start with. Just leave it on charge for as long as it takes to reach 100%. I leave mine connected overnight all the time and it does not harm the battery
-
Problem when Add Serial Number for Goods Receipt PO Document
Dear All,
In my App I have function to Add goods receipt PO and Serial for these items of this document as code bellows:
oGrp = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
'Add Header Goods Receipt
oGrp.CardCode = "CC1"
oGrp.CardName = "Card Code 1."
oGrp.DocDate = now
oGrp.DocDueDate = now
oGrp.TaxDate = now
Dim Qty As Int32 = 2
For i As Integer = 0 To Qty - 1
oGrp.Lines.SerialNumbers.SystemSerialNumber = 1
oGrp.Lines.SerialNumbers.ManufacturerSerialNumber = "MSR01" & "-" & i
oGrp.Lines.SerialNumbers.InternalSerialNumber = "ISR01" & "-" & i
oGrp.Lines.SerialNumbers.SetCurrentLine(i)
oGrp.Lines.SerialNumbers.Add()
Next
oGrp.Lines.ItemCode = "YMY2H-BLACK"
oGrp.Lines.ItemDescription = "My Item"
oGrp.Lines.Currency = "USD"
oGrp.Lines.Quantity = Qty
oGrp.Lines.Price = 10000
oGrp.Lines.DiscountPercent = 0
RetVal = oGrp.Add()
If RetVal <> 0 Then
oCompany.GetLastError(ErrCode, ErrMsg)
Return -1
Else
End If
When Add this document I have Error : "You should use existing serial/batch numbers for this document type ". Please help me fix this problem. In my SAP doesn't have Serial for these item. Please let me know How to add serial master data?
Thanks & RegardsDear,
Thanks for your support but when I chaged code as bellows:
oGrp = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
'Add Header Goods Receipt
oGrp.CardCode = "CC1"
oGrp.CardName = "Card Name."
oGrp.DocDate = MyArrContainDocInfo(2)
oGrp.DocDueDate = MyArrContainDocInfo(3)
oGrp.TaxDate = MyArrContainDocInfo(4)
Dim Qty As Int32 = 2
oGrp.Lines.ItemCode = "YMY2H-BLACK"
oGrp.Lines.ItemDescription = "My Item"
oGrp.Lines.Currency = "USD"
oGrp.Lines.Quantity = Qty
oGrp.Lines.Price = 10000
oGrp.Lines.DiscountPercent = 0
For i As Integer = 0 To Qty - 1
oGrp.Lines.SerialNumbers.SetCurrentLine(i)
oGrp.Lines.SerialNumbers.SystemSerialNumber = i
oGrp.Lines.SerialNumbers.ManufacturerSerialNumber = "MSR01" & "-" & i
oGrp.Lines.SerialNumbers.InternalSerialNumber = "ISR01" & "-" & i
oGrp.Lines.SerialNumbers.Add()
Next
RetVal = oGrp.Add()
If RetVal <> 0 Then
oCompany.GetLastError(ErrCode, ErrMsg)
Return -1
Else
End If
I have the same Error: "You should use existing serial/batch numbers for this document type". I try config in Gerneral Setting Form as image bellow: [http://www.hoanghaicap.com/GS.png|http://www.hoanghaicap.com/GS.png]. Please help me fix this problem. I try Add Goods receipt PO with items manage by Serial it's OK but by SDK it's not OK.
Thanks & Regards,
Edited by: Tao lao on Mar 10, 2010 2:44 AM -
Problems when I copy my VI to another directory
Hello!
I have problem when I copy my Main Vi to another directory. It is included in the program to have a template main that I duplicate. When I have copied my Vi to another directory direct under the template directory it has problems to find subvi´s that are included in the main VI. The subvi´s are included in the same folder as the template VI. Is it possible to set in the template main VI where to look for the subvi included, independent where I copy it?
Please help!!
BR
KristianSure. There is a file path "constant" that will return the current VI's path. Use this, then strip off what you don't need with strip path and add in the new parts with build path.
Hope that this helps,
Bob
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected] -
hi.. i'm trying to send email from a ASA Sybase database.. i register the class or the jar and call to the java method wrapper.. easy.. the problem is when adding the subject or the text of the email.. the proccess stuck there and don't send the mail.. but i try send outside the database from the main method and the mail is sended..
which could be the problem?
appreciate your help
migueli'm sure.. no exceptions.. i set to true the debug option in the session object and i log everywhere.. after all the statements.. and all are wrapped between a huge try/catch.. when i set the subject or the text the execution only stop and wait there like a infinite loop.. i say stop because the execution of the method don't log anymore.. the last tree statements of my send method is: add the subject, add the text and send the email via the Transport class.. the static method send.. when i comment the lines that add the subject and the text, the execution stuck when try to send the email without a subject and text.. is strange.. because i try outside the database and the email is sended.. i don't think that is a security problem.. is the same user that run the class and the same jvm..
any ideas?
thanks.. -
Problem when executing the same subVI in parallel.
Hey!
I have created a subVI that I am using in two applications that executes in parallel. For some reason the applications is using the same instance of the subVI, which creates conflicts when the applications are trying to use the same subVI at the same time. Is it possible to solve this problem?
/JakobOpen the SubVI and go to File>>VI Properties. Select Execution and check "Make VI reentrant". This should solve your problem. You should read more about reentant VIs and how they work in the site. They have different kind of uses.
Try to take over the world! -
Premiere Elements 4.0, Crash problems when add trasition features
Operate a VAIO VGN-AW11XU,which was purchased in Dec. 2008 and was loaded with Premiere Elements 4.0
This is the most powerful multimedia VAIo, with all features installed like 4GB memory,Intel Centrino 2 processor T9600 (2.8 GHz),VISTA Ultimate, NVDIA 9600GT and dedicated GDDR3 Video Memory of 512 Mb.
I keep on getting CRASH problems especially when I try to add transition to my video clips. The problem message details are :
Problem Event Name: APPCRASH
Application Name: Adobe Premiere Elements.exe
Application Version: 4.0.0.0
Application Timestamp: 46f98f81
Fault Module Name: StackHash_06a9
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a7a6
Exception Code: c0000374
Exception Offset: 000b015d
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1032
Additional Information 1: 06a9
Additional Information 2: bc3df167e4e07c2f973b80c7de9b1a5b
Additional Information 3: a44f
Additional Information 4: 2a1b05c4d7cdba5c95e750c734db17fa
I have the latest QuickTime installed.
The camcorder is the SONY Handycam HDR-SR12E which records on a 120GB hard disc.
The video clips which were recorded with above camcorder, are ( SD )MPEG-2PS
Your help will be highly appreciated.
Thank you
IliasΜακάρι να μπορούσα να μιλήσω πολύ πράσινο, Ηλία! Αλλά θα χρησιμοποιείται μόνο το Google μεταφραστή! Εάν λειτουργεί, όμως, θα σας στείλουμε μια απάντηση στα αγγλικά και στα ελληνικά.
I do not know about the SD recording format with that camcorder. I am sorry. But, if your Premiere Elements project is set up for AVCHD, you should be able to edit AVCHD with that computer.
I do recommend optimizing Vista, however, so that you will get the best performance. Here's how to do it:
Δεν ξέρω για την SD μορφή εγγραφής που με βιντεοκάμερα. Λυπάμαι. Αλλά, αν σας Premiere Elements έργο που έχει συσταθεί για AVCHD, θα πρέπει να μπορείτε να επεξεργαστείτε AVCHD με αυτό τον υπολογιστή.
Εγώ συνιστούμε να βελτιστοποιήσετε Vista, όμως, έτσι ώστε θα έχετε την καλύτερη απόδοση. Να πώς να το κάνουμε:
http://www.adobeforums.com/webx/.3bc448a7
Also, make sure your Vista is updated to Service Pack 1.
Επίσης, βεβαιωθείτε ότι η ενημέρωση να είναι Vista Service Pack 1. -
Performance Problem when executing the report for the first time.
Hi,
We have a Zreport...to improve the performance i created Index on few Data Base table..before my changes it used to take more than 15 minutes after the changes it taking less than 1 min for the same variant and for other variants also.
But when executing the first in morning its taking the same time more than 15 min.Please let me know how to increase the performance when executing first time also,
Thanks,
Kiran.Hi all,
Appreciate your valuable replies...
@ Thomas: i do accept with your solution running a background job..but user is not accepting for it..thanks for your reply.
@Siegfried Boes : for testing purpose Im running this manytimes..but for user they may
require when ever they need to know open oders.the volume of the data is barongs 300-350 at
max.
@Brad Bohn : After creating the index the repose time reduced to half ...i hope i have
created a right index.
Observation here...I executed the report in production system more than 5 times it took the
same time, my changes are still in quality..so i think may be for selecting the right index
its taking this much time.and for the next time is taking right index n doing it so it taking
less.
Do you accept it?.if so Please let me know how to explicitly say the select statement to
use my index.
Thanks,
kiran. -
Login Problem when two users loging in at a time
Hi,
If two uses are loging in at a time in my application
1.It is displaying crah page for one user and another getting wrong permissions.
2.some times both getting wrong permissions.
can you show me any suggestion to solve the problemA tiny bit of detail would have been useful. Most of the mind readers left after the last L&F change.
-
Hi all!
I am newbie at swing and i want to ask something..
I create a swing interface with some components but when i call a function and a player component in a JPanel, all the other components of the application disappear!
Why?
Thank in advance,
muldergrok ok.. i post some code:
public class FrameMain extends JFrame {
public FrameMain() {
initialize();
private void initialize() {
this.setSize(1024, 768);
this.setContentPane(getJPanel());
this.setVisible(true);
private JPanel getJPanel() {
if (jPanel == null) {
jPanel = new JPanel();
jPanel.setLayout(null);
jPanel.add(getJTabbedPane(), null);
return jPanel;
private JTabbedPane getJTabbedPane() {
if (jTabbedPane == null) {
jTabbedPane = new JTabbedPane();
jTabbedPane.setSize(new java.awt.Dimension(1024,768));
jTabbedPane.setLocation(new java.awt.Point(0,10));
jTabbedPane.addTab("", null, getJPanel1(), null);
return jTabbedPane;
private JPanel getJPanel1() {
if (jPanel1 == null) {
jPanel1 = new JPanel();
jPanel1.setLayout(null);
jPanel1.setPreferredSize(new java.awt.Dimension(1,1));
jPanel1.add(getJTabbedPane1(), null);
jPanel1.add(getJPanel3(), null);
jPanel1.add(getJPanel5(), null);
jPanel1.add(getJPanel4(), null);
return jPanel1;
private JPanel getJPanel5() {
if (jPanel5 == null) {
jPanel5 = new JPanel();
jPanel5.setLayout(null);
jPanel5.setLocation(new java.awt.Point(650,18));
jPanel5.setSize(new java.awt.Dimension(340,425));
jPanel5.setBorder(new TitledBorder(null,"Video"));
jPanel5.add(getPanelPlayer(), null);
jPanel5.add(getPanelControl(), null);
return jPanel5;
private JPanel getPanelPlayer() {
if (panelPlayer == null) {
panelPlayer = new JPanel();
panelPlayer.setSize(new java.awt.Dimension(320,240));
panelPlayer.setLocation(new java.awt.Point(10,50));
panelPlayer.setLayout(new GridLayout(1,1));
panelPlayer.add(player.getVisualComponent());
return panelPlayer;
private JPanel getPanelControl() {
if (panelControl == null) {
panelControl = new JPanel();
panelControl.setSize(new java.awt.Dimension(320,20));
panelControl.setLocation(new java.awt.Point(10,290));
panelControl.setLayout(new GridLayout(1,1));
panelControl.add(player.getControlPanelComponent());
return panelControl;
} and i also have a function like this:
private void createVideoWindow(String inVideoFile){
this.getPlayer(inVideoFile);
jPanel5.add(getPanelPlayer(), null);
jPanel5.add(getPanelControl(), null);
}but when i call this, all the other components of jpanel1 disappear..
any help? -
Problem when add Chroma Key filter to DVCPRO HD
I ingested some DVCPRO HD 720Pn footage into FCP. The footage was shot against a green screen. I started by creating a 4-point garbage matte around the person and then I added Color Smoothing and when I add the Chroma Key filter, the green screen comes back and a large grey area appears on screen. What is going on?
Ok, I just tried it again by creating the 4-pt matte and as soon as I drag the Chroma Key Filter to the clip, the points disappear, and the entire green screen comes back. Is this the way it is supposed to behave? Is there some type of apply button that I need to select after adjusting the last point of the garbage matte before doing anything else?
Thanks!
Message was edited by: rick.pearl -
Problem when trying to open a page 2nd time in Work space
Hi,
When I login to workspace for the first time using IE explorer and try to open the Financial Reports it works fine. Afte logging off and logging in again in the same IE explorer if I try to open the reports it throws an error saying that it doesnt exist.
Is it a bug?
I am using EPM version 11.1.1 and IE explorer 6.
have anyboady encountered with the same issue.
Your suggestion will be highly appreciated.
Thanks
SSStill trying to use MUSE 2014, after launching the program I can open two pages from the Plan view, when attempting to open a third I got this message:
I am running Windows 7 64 bit operating system with an Intel Core i5 CPU with 8gb of RAM. -
Personalization Problem when add a Custom Region
Hi all,
Scenario:
Via Jdeveloper i have create a custom region with associated AMxx, VOxx, CO and works fine.
I need to "add" the region to a standard page of Apprisal (/oracle/apps/per/selfservice/appraisals/webui/EmpAppraisalsPG).
Two way:
1. add the region to the page modifing the EmpAppraisalsPG page
2. personalize the original page with "flexible layout" and then add the region.
if I try 2, i receive the error: VOxx not found in Application module AM (not AMxx),
bacause seems that the AM associated with the custom region is not the 'custom' AM ( AMxx) but the root AM (the AM of EmpAppraisalsPG).
Question:
It's true? So, is not possible to add via personalization a custom region with a custom AM associated?
Thanks in advance
ChalyAdding it using personalization using a flexibleLayout is the right approach. I am assuming the VOxx is part of AMxx, if yes then which API are you using to get handle to the AM, getRootApplicationModule or getApplicationModule(webBean). The second API should be used to fetch the nested AM and not the first one.
-
It started a few days ago, I am running Mac Yosemite. It is also happening in Illustrator.
Yosemite…
You'll have to wait until Apple fixes all the bugs introduced in 10.10. Lots of folks are going back to Mavericks. -
Problem when create a support massage from another system
dear Support,
we are work in our system with support massage to the service desk in the solution manager,
we are create the massage from the source system and it open a massage in the service desk in the solution manager
when we create a support massage it's send mail with the name of who open the massage, (For example : naors, benisa)
my problem is that in 1 source system when i open the massage the mail send in a name of user basis (i think it's meen that the massage send the mail from user in the solution manager and no the user that open the massage)
-i create a BP partner in solution manager and generate him in Tz BP_GEN
but it's still send the mail from user "basis"
besr regards
Naor ShalomHi
Is the IBase filled in that particular ticket correct,please check?
have you generated the ibase in IB_52 for this system too?
Regards
Prakhar
Maybe you are looking for
-
What deterimes the amount of data in a waveform from a TDS 1012 scope
Hello, What determines the amount of data that is in a waveform that comes out of a TDS 1012 scope? I am assuming that I will have to look at the driver vi to determine the commands sent to the scope to figure it out. I am in a situation that I ne
-
I am importing a CD into itunes and it is creating 5 different albums. 1 album for most of the songs and 4 other albums for single songs from the CD. How can I get itunes software to put all the songs into 1 album?
-
NW 7.0 Installation getting jurisdiction policy error
I am getting the error below when installing my 7.0 Portal on an AIX server. Do I simply update the local policy and US export files? The install did not prompt for these files, only the local java path: i.e. java14_64 path aused by: java.lang.Except
-
Am I able to get Adobe Encore if I have a single app subscription with Premiere Pro CC
I have a single app subscription for Premiere Pro CC 2014 and I wanted to author a Blu Ray disc. Am I able to use Adobe Encore with this subscription? It seems I keep getting this dialogue box when trying to start up Encore: Adobe Encore Cs6 cannot r
-
Ps4 connect to laptop using hdmi
Hi! Tell me how I can connect Ps4 to laptop screen using hdmi-cable?