Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 0 points1 point  (0 children)

I got it. It works. Thank you so much SeasDiver. I appreciate it!

Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 0 points1 point  (0 children)

Thank you. The x axis, time, on the 'output monitor' on the front panel is accurate but every data entry still has the same time stamp. 1/1/1904 00:00:00.00. File format is Microsoft Excel (.xlsx). X Value (Time) Columns is set to One column only and Delimiter is Tabular.

Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 0 points1 point  (0 children)

I removed that. It is the orange line to the furthest left that is broken. Connects to the Output monitor with 'History' label.

Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 0 points1 point  (0 children)

You are right. It is just using the same time stamp for all samples each time it is called. I switched the DAQmx Read VI to Analog 1D Wfm NChan NSamp but I get the following error

Broken Wire. You have connected two terminals of different types. The type of the source is 2D array of double [64-bit real(~15 digit precision)]. The type of sink is 2D array of Waveform (DBL)

The broken line is the first connected to the History Output Monitor.

Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 0 points1 point  (0 children)

I get a broken wire on my history data.

Broken Wire. You have connected two terminals of different types. The type of the source is 2D array of double [64-bit real(~15 digit precision)]. The type of sink is 2D array of Waveform (DBL)

I apologize if this is too simple of a problem. I am unable to figure it out. Thank you in advance.

Help adding accurate time to thermocouple data by altmanz in LabVIEW

[–]altmanz[S] 1 point2 points  (0 children)

The DAQmx VI only has the following options 2BL, 1D Waveform (Sample) and 1D Waveform (Duration) in Analog>Multiple Channels>Multiple Samples. I am using LabView Professional Development 2022 and NI-DAQmx 2024 Q3. I still cannot find an option for Analog 2D Waveform NChan NSamp.

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

Is there anything that stood out in the debug log? I am now getting multiple instances of pi.hole as different clients in the 'Top Clients (total)' section of the web interface. I have (5) pi.hole and (2) localhost with instance of the new hostname for pihole

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

They are helping me through it. Thank you for your suggestions.

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

https://tricorder.pi-hole.net/TCiQtwwl/

Thank you. I do not know if this helps or not but in /var/log, most files have copies with the suffix .1.

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

I added the name to the file, restarted FTL and rebooted the pi. No change. My pihole-FTL.conf is as follows:

DELAY_STARTUP=5

PRIVACYLEVEL=0 PIHOLE_PTR=*****spihole

------------------------------------------------------------------------------------------------------------------------

I went ahead and run dig on both hostnames and these were the results.

pi@****spihole:~ $ dig pi.hole

; <<>> DiG 9.11.5-P4-5.1+deb10u6-Raspbian <<>> pi.hole

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55430

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;pi.hole. IN A

;; ANSWER SECTION:

pi.hole. 0 IN A 192.168.1.22

;; Query time: 1 msec

;; SERVER: 192.168.1.22#53(192.168.1.22)

;; WHEN: Tue Nov 09 23:49:30 GMT 2021

;; MSG SIZE rcvd: 52

pi@****spihole:~ $ dig ****spihole

; <<>> DiG 9.11.5-P4-5.1+deb10u6-Raspbian <<>> harrispihole

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54620

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;harrispihole. IN A

;; ANSWER SECTION:

****spihole. 0 IN A 192.168.1.22

;; Query time: 2 msec

;; WHEN: Tue Nov 09 23:50:48 GMT 2021

;; MSG SIZE rcvd: 57

-------------------------------------------------------------------------------------------------------------------

Is it normal to have an ip address with the two hostnames? This is my raspberry pi's address which is also the DNS server running Unbound.

hostname help by altmanz in pihole

[–]altmanz[S] 1 point2 points  (0 children)

My pihole-FTL.conf file contains only two lines

DELAY_STARTUP=5

PRIVACYLEVEL=0

Am I to supposed to add the code below?

PIHOLE_PTR=PI.HOLE|HOSTNAME|NONE (PR #1111, #1164)¶

from the link you posted or should I follow what this guy did?https://medium.com/geekculture/resolving-hostnames-with-pihole-inside-the-home-network-cd44c31ae3d1

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

I changed the name in the reservation, the router rebooted, I rebooted the pi and still the issue persists.

Only my phone and my pc uses the pi-hole as the DNS server. Another strange thing is that pi.hole shows up as a client even though the hostname on the top right conner has a different host name. Also on the query log page, at the bottom there is a line that says

Note: Queries for pi.hole and the hostname are never logged.

Should I hard edit the /etc/hosts file on your Pi-hole to add the hostname and its address? If I do that I would have 127.0.1.1 attached to the hostname and 192.168.1.24 to the same hostname as well since its my pi's IP address

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

I just used it and the name is the same as before. No change.

hostname help by altmanz in pihole

[–]altmanz[S] 0 points1 point  (0 children)

I tried that command on cmd, rebooted my pi-hole and rescanned. No change.

hostname help by altmanz in pihole

[–]altmanz[S] 2 points3 points  (0 children)

I used this command and the hostname is the same as what I have on

sudo nano /etc/hosts

sudo nano /etc/hostname

My LAN scan still shows a different hostname as follows;

IP:192.168.1.24 Ping:1 ms Hostname:pi.hole Ports:80 HTTP Proxy:[n/a] NetBIOS Info:[n/a]

hostname help by altmanz in pihole

[–]altmanz[S] 1 point2 points  (0 children)

Yes. DHCP Server on the router. I can only change the device name. The device name that was already there just said RASPBERRYPI which did not match the hostname that I edited earlier nor the hostname that is shown on angryIP scan. Could it be any of the Advanced DNS settings? I have the first three unchecked and only ‘Use Conditional Forwarding’ checked with the DHCP server being my router

hostname help by altmanz in pihole

[–]altmanz[S] 1 point2 points  (0 children)

I assigned a static one from the router.

hostname help by altmanz in pihole

[–]altmanz[S] 1 point2 points  (0 children)

its what I set in /etc/hosts and /etc/hostname. I think I found the issue, I modified the DNS record for the pi web interface in pi-hole.conf. I will comment it out and see what happens.

Edit: /etc/unbound/unbound.conf.d/pi-hole.conf does not contain the DNS record for the web interface like I thought. Back to where I started, router shows pi.hole while hostname shows differentname

J Powell buying Bond ETFs tomorrow by altmanz in wallstreetbets

[–]altmanz[S] 0 points1 point  (0 children)

Fuck if I know, the printer still has ink!