Power supply hangs after running vi second time

Hello
I'm just starting my adventures in worlds of LabView and I encountered a problem with my first serious vi which is control CPX400DP power and oscyloscope DPO4104.

What my vi should do:

Firstly, it defines two supply channels current levels (5V on the first, 0V on the second, etc.) and the size of the jump (0, 5V for example). Then vi must change two levels depending on the size of the jump, and repeat until the current levels of the two channels would be opposite to the starting value (in this case, 0V on the first channel, 5V on the second). Also before every current change the vi would save to the file average measurements out of oscyloscope waveforms.

What does my vi:

In the first round, it seems he does everything in order (with resonable numbers a new text file is created). However, when I try to run the vi again my power supply freezes short after some changes underway. I can't stop the execution of the vi in LabView (it takes a while though), but to run the vi successfully, once again I have to reset my power (turn it works).

I tried to work around this problem by modyfing the vi in such a way that he would do what I want several times during the running vi only once, but unfortunately that did not work.

If someone would have any suggestions on what I am doing wrong or how to help solve this problem do not hesitate to share I don't bite... much , but seriously, I'm stuck with this problem for over a week and I will be happy to advice

Thank you!

Waldek.

PS Sorry if I'm not clear somewhere but I'm not used to talk about programming in English
PSS as attachments are my main vi and two sub live.

Revan-Ghost wrote:

Thanks to a suggestion from Bill, but could you elaborate a little bit on "try to insert; * MUTUAL FUND? After each setup command "? I understand what would make, concept wise, but as a new user, I don't know how to do this in LabView. And good Uncle Google says nothing about '; * MUTUAL FUND? "and insist to talk instead of OPC servers.

I'm sorry - I looked at the manual and could not realize that the subVIs missing from your code actually were drivers for your diet, so you will not be able to implement this (unless the pilots themselves have the ability to 'Operation Complete' - I hope the drivers provided with the documentation).  Otherwise, you may be stuck having to hardcode waiting after each command.

If you have written your own drivers, it's how send you the command set output 1 to 1 Volt:

V1 1; * MUTUAL FUND?

The V1 1 sets your voltage of 1 Volt.  To turn to another command, use the semicolon.  The * OPC? forces command him back send a '1 '.  As orders are followed in order, food cannot send the '1' until he gets treated the command set to 1 Volt.  When this command is complete, the '1' is sent, you read the 1 out of the buffer and move.  This avoids problems where you stack on too many commands at once.  I checked the manual and it supports this feature.

Tags: NI Software

Similar Questions

  • lov works not very well when it is run the second time

    Hello

    I have a lov VO with the following query:

    Select distinct attribute1, org_id po_headers_all where org_id =: 1

    When I run the vo in LOV AM
    vo.setWhereClauseParams (null);
    vo.setWhereClauseParams(0,iOrgId);
    vo.executeQuery ();

    LOV region:

    Attribute1 is messageStyledText with the real licence to search
    Org_id is the value of the form

    Lov maps:
    LovMap1 for basepage lov: true research permit
    Selective wrong search criteria

    LovMap2 for the Org Id
    Make a single value of the form OrgIdFV
    fact OrgIdFV as part of criteria.

    When I run the page, it works very well with a % and tab once. Second time if I delete the value a lov in entry and write a % and a tab once again, this Type of column not valid error

    Help, please.

    Thank you
    POOJA

    POOJA,

    This will not work unless you write the VOImpl executeQuery method. that is to replace the standard executeQuery method.

  • Select the query takes a long time to run the second time

    Hi all

    I have Oracle 11 GR 1 material in windows server 2008 R2.
    I have a few tables with 10 million documents. When I run the select query to the tables of first time, it gives me a result in 15 seconds, but if I run the script even twice in the same session, I get the result in 15 minutes to complete...

    Why it's happening? What can be the solution for this?

    Thank you and best regards,
    Vikash jain (DBA Junior)

    What I know is that this feedback from cardinality generates more problems than improving the performance is, in fact, its main objective. But first look at which is was written in the link I posted above

    "Return of cardinality was introduced in the Oracle 11 g database 2. The purpose of this function is to automatically improve plans for queries that are executed repeatedly, _For that the optimizer does not estimate the cardinalities in the properly_ plan"

    If the cardinality feedback kiks in your case it is certainly because you do not have an exact statistics. Get the command the explain plans that I have shown you with the E-lines and A-lines (lines estimates and actual lines) and see where things are poorly estimated.

    If you want to disable the cardinality feedback then add the indicator according to your request

    /*+ opt_param('_optimizer_use_feedback','false') */
    

    Best regards

    Mohamed Houri
    www.hourim.WordPress.com

    Published by: Mohamed Houri on November 22, 2012 02:11
    Published by: I was looking for the exact indication of how do I deactivate the cardinality feedback and I foud in an ot the Dominic post in otn :-)

    Published by: Mohamed Houri on November 22, 2012 02:15

  • Why can I not use iOS no accessories (power supply cord) after upgrading to iOS 10

    After the upgrade to iOS 10 I can't use the lightning power cord I was using before

    Hello. Have you seen this thread iPad is cooler computer after an update to iOS 10 . Looks like a common problem. It still load using the Apple charger and cable?

  • ThBird: after running for some time on Mac, I noticed the loss of contact, the highest use of resources...

    Hi, first post so excuse despises.
    On Mac OS X 10.6.8.
    When I start TB he moved to processor low use (0, 0-0, 1%) after the initial activity. There are some file access.
    After some use (cannot be precise if it could be as little as first check for mail, certainly with 20 minutes) the process uses 5.5% or more at any time when TB is 'inactive' as far as I'm concerned. There is a flow of constant IO even though many are stat or similar rather than full read/write.

    Also, several times I found the most much of my contacts are not available (even my own account acting) Although some are.
    It disappears if I restart TB.
    Haven't checked but suspect that these may be contacts in my contacts OSX/phone etc. Did not time check which is common to accounts that remain - suspect they would be accumulated addresses in TB files.

    Also, I was amazed how many fonts are opened by the CT (guessing almost everyone, I opened, several 100) which seems a strange thing to do if it is not really needed. I wonder if a file handle limit results in the problem of contacts.

    I hope that this gives to encourage thoughts. I can do some searching, but the clock is ticking right now.

    (I lost the weeks pass to TB from Outlook when Virgin UK moved to gmail hosted in their own platform.) A lot of data migrated but TB helps rebuild a functional archiving messaging system.)

    cwinte said

    Just checked more closely and he are a 850 font files open and 100 or so files. It's probably a little crazy in terms of resources.

    It's weird. But he has been so on Mac for many years. Maybe even in version 2. I have not yet tracked when put obtained behavior implemented.

    The behavior is noticed in Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=701661 and bug https://bugzilla.mozilla.org/show_bug.cgi?id=800279 Thunderbird

  • Power supply error after converting old .vmx file

    To start, that's what I'm working with:

    VMWare ESXi 4.1.0 (and vSphere client)

    VMWare vCenter Converter Stand alone

    What I'm trying to accomplish is to take an older VMWare machine, convert it, and then add it in the new client. Problem is after I convert the old file, transfer it to the data store, then add the inventory on what it will not feed machine and I get the following error message:

    Unable to create the virtual SCSI device for scsi0:0, ' / vmfs/volumes/4d4056f3-dba3ed6f - 6 c 19.

    Could not open scsi0:0 disc: disc not supported or not valid type 7. Make sure that the disk has been imported.

    I was looking through some threads here on this forum (based on the SCSI error) and none of the fixes worked for me, because the changes were not necessary in my new .vmx file. There was one that I was full of hope on (which recommended changing the .vmx file to point to the appropriate disk), but this isn't the issue with the new .vmx file.

    To give you an idea, it is that the new file has in it:

    . Encoding = "windows-1252".
    config.version = '8 '.
    virtualHW.version = "7".
    memsize = '512 '.
    MemAllowAutoScaleDown = "FALSE".
    displayName = "Convergence".
    guestOS = "other26xlinux."
    USB. Present = 'TRUE '.
    ethernet0. Present = 'TRUE '.
    ethernet0. AddressType = 'generated '.
    ethernet0. ConnectionType = "bridged".
    ethernet0.startConnected = 'TRUE '.
    Ethernet1. Present = 'TRUE '.
    Ethernet1. AddressType = 'generated '.
    Ethernet1. ConnectionType = "hostonly".
    Ethernet1.startConnected = 'TRUE '.
    ide0:0. Present = 'TRUE '.
    ide0:0. AutoDetect = 'TRUE '.
    ide0:0. FileName = "automatic detection".
    ide0:0. DeviceType = "cdrom-raw"
    scsi0. Present = 'TRUE '.
    scsi0.virtualDev = "free".
    scsi0:0. Present = 'TRUE '.
    scsi0:0. FileName = "Covergence.vmdk".
    scsi0:1.present = 'TRUE '.
    scsi0:1.filename = "Convergence - 0.vmdk".
    vmci0. Present = 'TRUE '.
    lsilogic.noDriver = "FALSE".
    EHCI. Present = 'TRUE '.
    NVRAM = "Covergence.nvram."
    Priority.Grabbed = 'normal '.
    Priority.ungrabbed = 'normal '.
    scsi0:0. Redo = «»
    scsi0:1.redo = «»
    virtualHW.productCompatibility = "hosted".
    insulation. Tools.hgfs.Disable = 'TRUE '.
    tools.remindInstall = 'TRUE '.
    pciBridge0.present = 'TRUE '.
    Tools.Upgrade.Policy = "useGlobal".
    pciBridge4.present = 'TRUE '.
    pciBridge4.virtualDev = "pcieRootPort"
    pciBridge5.present = 'TRUE '.
    pciBridge5.virtualDev = "pcieRootPort"
    pciBridge6.present = 'TRUE '.
    pciBridge6.virtualDev = "pcieRootPort"
    pciBridge7.present = 'TRUE '.
    pciBridge7.virtualDev = "pcieRootPort"

    And here's what the old file was inside before being converted:

    #! / opt/vmware/server/bin/vmware
    config.version = '8 '.
    virtualHW.version = "4".
    numvcpus = '1 '.
    scsi0. Present = 'TRUE '.
    scsi0.virtualDev = "free".
    memsize = '512 '.
    MemAllowAutoScaleDown = "FALSE".
    floppy0. Present = "FALSE".
    USB. Present = 'TRUE '.
    Sound.Present = "FALSE".
    sound.virtualDev = "es1371.
    sound.fileName = "-1".
    Sound.AutoDetect = "TRUE".
    displayName = "convergence Session Manager.
    guestOS = "other26xlinux."
    NVRAM = "Covergence.nvram."

    #serial0.present = "FALSE".
    Serial0.filetype = 'file '.
    Serial0.filename = "ttys0.txt".

    ethernet0. Present = 'TRUE '.
    Ethernet1. Present = 'TRUE '.
    ethernet0. AddressType = 'generated '.
    Ethernet1. AddressType = 'generated '.
    Ethernet1. ConnectionType = "hostonly".
    UUID. Location = '56 4 d cf 63 ba 16 39 4f - 36 of 93 07 94 30 3 c 79'
    UUID. BIOS = "56 4 d 22 6th b3 41 36 31 - 9f ea 2d 9F 6 d 7 d d0 0F".
    ethernet0.generatedAddress = "00: 0C: d 29:9e:6: 7 d.
    ethernet0.generatedAddressOffset = '0 '.
    Ethernet1.generatedAddress = "00: 0C: 29:9e:6 d: 87.
    Ethernet1.generatedAddressOffset = "10".

    scsi0:0. Present = 'TRUE '.
    scsi0:0. FileName = "SystemDrive.vmdk".
    scsi0:1.present = 'TRUE '.
    scsi0:1.filename = "SetupDrive.vmdk".

    Priority.Grabbed = 'normal '.
    Priority.ungrabbed = 'normal '.

    scsi0:0. Redo = «»
    scsi0:1.redo = «»

    virtualHW.productCompatibility = "hosted".
    Tools.Upgrade.Policy = "manual".

    insulation. Tools.hgfs.Disable = 'TRUE '.

    tools.remindInstall = 'TRUE '.
    checkpoint.vmState = «»

    I am new to all this installation of VMWare server so I am at a loss to know what to do to solve this problem. Any help will be appreciated.

    Welcome to the community,

    Problem is once I have converted the old file, download on the data store, and then add the machine to the inventory...

    Could you explain what exactly you were doing.

    • What is product VMware has been the virtual machine running before you converted?
    • How do you have it convert?
    • Why don't you use the converter to convert the virtual machine directly to ESXi, instead of convert and download?

    André

  • Subvi inside the structure of event wont run a second time.

    I have a Subvi within a structure of the event, and it runs when I press a button, inside the Subvi is code in a while loop, and when the last piece of code is executed, the while loop stops.  I have a bad event triggerring once I have already run once.  Which means that I pressed the button and the code in the event structure was executed and while the main VI works always, I press the same button again and everything works but the Subvi.  How I would do this job?


  • Installed a new power supply, run only windows XP.

    So I recently replaced my power supply, and all respect that seems to be going very well that the computer has no problem running. However, every time I start the computer, it start in Windows XP and immediately requires me a check on windows XP. A screen will appear asking if I would like to activate via phone or internet tool. If I use the online detection tool, he suggests, he says that I can not connect to the internet and sends me in return. If I call the number, I can possibly a recording of the voice asking me the code 40 numbers on my screen. Whenever I enter this code by phone, he says he does not recognize that code and I'm at square one. So basically, how can I get my computer to start as it has always, in Windows 7 and with all my usual data?

    Also, I tried to start in safe mode with command prompt. When I get to the menu Startup and recovery in system properties, it appears the only operating system default is "Windows XP Media Center Edition. I have several hard drives my best guess is that it maintains launch than bad. Any help find how launch of correct would be greatly appreciated.

    TLDR; New power supply, computer guard run windows xp and by asking for activation, when I was previously with windows 7 for more than a year.

    Good guess:

    When you have reconnected all cables in your PC after installing the new power supply, you connected the SATA (data) cable that should go to your primary (generally marked 0) SATA port for a hard drive that has Windows XP on it.

    Check your cables.

  • R9 270 x and power supply in a dell inspiron 620 for $200 after rebate?

    So, as you can see in the image below, you can certainly hold a 9 inch gpu in this computer that the 270 x im is less than 9 inches for fitting will not be a problem.

    en.Community.Dell.com/.../4571.620VID.jpg

    The needs of 500 watts and 2 6 pin connectors PCI card this power supply has

    www.superbiiz.com/detail.php; c = CJ<----- link="" to="" graphics="" card="" ($169="" after="">

    www.newegg.com/.../Product.aspx; cm_re=atx_power_supply-_-17-438-016-_-product< -----="" link="" to="" power="" supply="" ($30="" after="">

    So the question is will the PSU and GPU work in a dell inspiron 620 with 8 GB of ram i5 2310 and 1 TB of memory?

    jojokidc

    The EVGA 100-W1-500 - KR 500W ATX12V / EPS12V 80 PLUS certified Active PFC EVGA 100-W1-0500 - KR 3 PSU should fine in Mini Inspiron 620 Tower.

    As must the Sapphire DOUBLE-X AMD Radeon R9 270 X OC 4 GB GDDR5 2DVI/HDMI/DisplayPort PCI - Express video card, offering space, especially since the locations of memory and the hard drive Assembly.

    Bev.

  • Fan power SUPPLY XPS 8700 block

    I have an 8700 XPS which is now two weeks old.  The Tower began to make some strange electric tone and/or the sounds of gnashing especially at the start.  I removed the side cover and the noise is coming from the PSU.  Sometimes the power supply fan is running at very low REGIME and squeaks.  Other times at the start of the power supply fan turns at all and there is a strange electronic tone coming from the PSU.  If I move the blades of the fan with a plastic straw, the fan will run upward and tone noise subsides.  Faulty PSU?  The unit is under warranty, but having a Dell technician will come out can be a problem with my work schedule.  Reference Dell will send me a new power supply?  I don't mind reverse out and return the defective power supply.  Thanks for your help.

    As I suspected, the BIOS update does not solve the problem of power supply fan. But if the flash update had bricked motherboard, Dell should replace it as well as the power supply under the warranty.

    Dell computers may vary only the CPU fan speed based on heat, not their fan PSU OEM.

    Hope that the new power supply solved the problem and you can continue to enjoy your new toy.

    Post back and let us know what happens after replacing the power supply...

  • The Green and black wire to three posts on HP POWER supply

    Hello!  I recently updated my old diet Pavilion 760n for a power SUPPLY ATX 500W PSU.  Everything worked very well.

    Uh, except that a small pig green and black of the former power supply... one that has been plugged in where it says 'PS - FAN' on my mobo.  I didn't have one of these same three grandsons connectors on the new power supply.

    And is even funnier, as the old power supply HP has a list on the side which shows what color wire has what voltage on it - red + 5V yellow is + 12V, black is ground, etc., but GREEN is not on the list!

    I opened my computer and big case fan is running (12VDC fan), the fan on the heatsink from the CPU works, the GPU card fan works... the only fan who is not running is the power supply fan (but I think it is because it is running when the power supply gets hot and she needs).

    Can someone tell me what this little piggy of son was for and what voltage it supplied, and how it is used? Thank you!

    It's your motherboard and I see that the outlet marked PS - FAN.  Apparently motherboard and bios controlled the speed of the fan to power supply.  It is the first time I heard of this, but then you have an older model of PC.  New power supplies have an internal fan.  The Green wire can be a signal wire.

  • 4870/GTX 260 in a m9600t. Will it work? (Worried about power supply)

    What I did the research, the PSU is 460W with 18 amps on each of the two 12V rails, but I have no idea about the brand or the quality of the PSU. That would be enough to run one of two video cards? I am mixes answers ask around.

    The power supply will also run:

    1 TB HARD DRIVE

    8 GB RAM

    I7 920

    HD 4870 or GTX 260

    Sorry... I was wrong.  There will be at least a 6 pin on OEM POWER supply connector. It would be probably easier if you open your PC case and take a look. There is no document, accessible to the public, I can find that show how many connectors 6 pins are on the block of power SUPPLY OEM.

  • I have an iphone 6 s running ios 9.2.1 my wifi disconnection and after a few seconds that it reconnects, it happens most of the time, help me thank you!

    I have an iPhone running iOS 9.2.1 6s my wifi suddenly disconnects, and after a few seconds that it reconnects, it happens most of the time help me thank you!

    It sounds like you have a fancy for your apple WIFI products name prefer digital alpha without space.

  • HP DV6-6B25TX turn off after 10 to 15 seconds, regardless of the power of the battery or power supply

    Hello

    MY DV6-6B25TX is cutting off after 10-15 seconds, regardless of the battery power or AC power.

    Here's the complete scenario of what happened in recent weeks:--

    Two weeks back I was using the laptop with the power adapter is plugged in for charging, the battery got charged up to 99% then it stopped charging and display the battery icon text, "plugged in, not charging".

    A return of the week, the battery was 20%, after plugging in the charger, always the same message "Plugged in, no charging current".

    Now the laptop does not meet the key power when the battery is inserted.

    If I remove the battery and back again, it starts without pushing the power button and turns off after 10 seconds, well before Windows starts.

    She stops even on the Bios screen, OS is not definitely the question.

    When I plug in charger and press the power button / stop, the same thing, i.e. starts and shutts off after 10 to 15 seconds, regardless of the BIOS or Windows startup screen.

    I removed the ram and but again, but the problem still persists.

    Also there is no issue of overheating due to dust, as I've barely used the laptop for a few hours, the phone is about 6 months and under warranty.

    Please advice ASAP.

    Thanks in advance.

    Honestly, something prevents the battery charge. Computer laptop closing seconds after that reinsert the battery is a good indication the battery just is not getting charged. This could be a battery failure, charger, port, or in rare cases of charge motherboard.

    Since it's under warranty, I recommend you contact HP support that there is no easy solution for this on the forums. It's a hardware problem.

    The number of the Canada and the United States support is 1-800-474-6836.

  • NAS200 after power supply current

    Hi all

    could you please confirm this behavior after a power failure:

    -the Sin starts normally and for a few seconds I can access via the web. But if I try to force the closure, he answers me back is not possible due to the scandisk is underway

    -After 2 minutes, where the green light turned on I see the two light of the two bays which lie on. The problem is that the I only have one disc inserted into the SIN!

    -the system is not accessible. I read the manual it is normal when the sin is the scandisk. But it is not clear to me it does, because flashing power/ebaydisk1 noither.

    Any suggestion?

    When the NAS200 sees that the disks were not closed properly, he made a blink of LEDs from disk at startup for you know that it is the cleaning of discs; they stop flashing when the cleaning operation is complete. If I understand correctly, this is not what you see: you see two disk lights on.

    Normally you should never see both lights of disc on if only one drive is installed. Try unplugging the power supply and then restarting him. Maybe it was just a small problem and it runs very well this time.

    If it's the same thing when restart you with the installed drive, try running it without disc and see if the lights are still to come. Both hard drive lights should turn off if no drive is installed. If they remain, you may have a hardware problem that causes the software hang (or perhaps to trigger a kernel panic).

    If it starts fine without the disc, but both lights keep coming with a disc, there may be a problem that can be fixed by connecting the drive to a PC and booting with a CD of SystemRescueCD. You may need to ask someone who knows Linux to help you with that.

    = Jac

Maybe you are looking for

  • Update for XP Home Edition of Windows 2000?

    Hi, I have a computer with Windows 2000 installed.  I bought a copy of Windows XP Home Edition Upgrade Edition, but I noticed on the box it says you can upgrade only from Windows 98?  Can I use this retail XP Home Upgrade for upgrade form Windows 200

  • DigitalPersona, validity of fingerprints fingerprints and Windows 7

    Disclaimer You use this guide at your own risk. I take no responsibility for any problem. Warning Before you do anything, please make sure that the previous fingerprint reader driver and software has been uninstalled. Note: The driver that is display

  • Itne updates

    Whenever I try to update I adjust I get an error code of 127. Someone at - it suggestions?

  • Does anyone else have problems with tasks dashing ACS box

    This is the second time that I applied a patch ACS to one of our boxes of ACS SE 1113 only to happen in an unusable state. Today, I applied patch level 4.1.4.13.7 4.1.4.13.11. I used the GUI to apply the hotfix. Now most of the services will not star

  • Components of Siebel server for EAI of self-study environment

    What server components should be choosing to have a little self-study environment which includes the necessary elements so that we can work with EAI adapter?I created a server with a few components, and http://Server/service_enu would not load. So I